1
0

Accepting request 75201 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/75201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=3
This commit is contained in:
Marcus Rückert 2011-07-19 13:01:36 +00:00 committed by Git OBS Bridge
parent 74815b42cd
commit efc484c2ba
4 changed files with 21 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7051e18d62007020476358c085cac83c978d90452c114431b6296c64b02131b
size 126688

3
dulwich-0.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24e393bdadd685608b61e0293719296d467b76917e2135822576246b988724b5
size 164718

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 3 10:21:34 UTC 2011 - saschpe@gmx.de
- Update to version 0.7.1:
* Documentation udated
* Tree.entries deprecated
-------------------------------------------------------------------
Thu Mar 31 14:25:18 UTC 2011 - saschpe@suse.de

View File

@ -11,41 +11,35 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define mod_name dulwich
Name: python-%{mod_name}
Version: 0.7.0
Release: 1
Name: python-dulwich
Version: 0.7.1
Release: 0
Url: http://samba.org/~jelmer/dulwich
Summary: Pure-Python Git Library
License: GPLv2 or later
License: GPLv2+
Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.bz2
Source: dulwich-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
%if 0%{?suse_version}
%py_requires
%endif
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
Simple Pure-Python implementation of the Git file formats and protocols. Dulwich
is the place where Mr. and Mrs. Git live in one of the Monty Python sketches.
%prep
%setup -q -n %{mod_name}-%{version}
%setup -q -n dulwich-%{version}
rm docs/tutorial/.gitignore
%build
export CFLAGS="%{optflags}"
python setup.py build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@ -57,6 +51,6 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc AUTHORS COPYING HACKING NEWS README docs
%{_bindir}/*
%python_sitearch/%{mod_name}*
%python_sitearch/*
%changelog