diff --git a/dulwich-0.15.0.tar.gz b/dulwich-0.15.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b4399400668575dbb32559e6b6d461d04d3ecb12 Binary files /dev/null and b/dulwich-0.15.0.tar.gz differ diff --git a/dulwich-0.20.11.tar.gz b/dulwich-0.20.11.tar.gz deleted file mode 100755 index 90b7518e78c71ac98ba2c94898360a58f9b61ec7..0000000000000000000000000000000000000000 Binary files a/dulwich-0.20.11.tar.gz and /dev/null differ diff --git a/python-dulwich.spec b/python-dulwich.spec index cfcfd23f06988854ad1777cb1e416394f12691c8..8ac780103ed394723323065db203214796849c22 100755 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -1,77 +1,63 @@ %global _empty_manifest_terminate_build 0 Name: python-dulwich -Version: 0.20.11 -Release: 1 +Version: 0.15.0 +Release: 2 Summary: Python Git Library License: Apachev2 or later or GPLv2 URL: https://www.dulwich.io/ -Source0: https://files.pythonhosted.org/packages/fc/86/4bf0caafc7700904844ad3f25f212d5d8aea5889c67dbdaa66dd213b7203/dulwich-0.20.11.tar.gz +Source0: https://files.pythonhosted.org/packages/f9/06/3f472d9c44ed8bb833b48b8fd5cdfb4728fc6065eaa0e008ed9e25142460/dulwich-0.15.0.tar.gz +%description -Requires: python3-urllib3 -Requires: python3-certifi -Requires: python3-fastimport -Requires: python3-urllib3[secure] -Requires: python3-gpg -Requires: python3-pyinotify + Python implementation of the Git file formats and protocols, + without the need to have git installed. -%description -By default, Dulwich' setup.py will attempt to build and install the optional C -extensions. The reason for this is that they significantly improve the performance -since some low-level operations that are executed often are much slower in CPython. -If you don't want to install the C bindings, specify the --pure argument to setup.py:: - $ python setup.py --pure install -or if you are installing from pip:: - $ pip install dulwich --global-option="--pure" -Note that you can also specify --global-option in a -`requirements.txt `_ -file, e.g. like this:: - dulwich --global-option=--pure - -%package -n python3-dulwich + All functionality is available in pure Python. Optional + C extensions can be built for improved performance. + + The project is named after the part of London that Mr. and Mrs. Git live in + in the particular Monty Python sketch. + + +%package -n python2-dulwich Summary: Python Git Library -Provides: python-dulwich -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-cffi -BuildRequires: gcc -BuildRequires: gdb -%description -n python3-dulwich -By default, Dulwich' setup.py will attempt to build and install the optional C -extensions. The reason for this is that they significantly improve the performance -since some low-level operations that are executed often are much slower in CPython. -If you don't want to install the C bindings, specify the --pure argument to setup.py:: - $ python setup.py --pure install -or if you are installing from pip:: - $ pip install dulwich --global-option="--pure" -Note that you can also specify --global-option in a -`requirements.txt `_ -file, e.g. like this:: - dulwich --global-option=--pure +Provides: python2-dulwich +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-dulwich + + Python implementation of the Git file formats and protocols, + without the need to have git installed. + + All functionality is available in pure Python. Optional + C extensions can be built for improved performance. + + The project is named after the part of London that Mr. and Mrs. Git live in + in the particular Monty Python sketch. + %package help Summary: Development documents and examples for dulwich -Provides: python3-dulwich-doc +Provides: python2-dulwich-doc %description help -By default, Dulwich' setup.py will attempt to build and install the optional C -extensions. The reason for this is that they significantly improve the performance -since some low-level operations that are executed often are much slower in CPython. -If you don't want to install the C bindings, specify the --pure argument to setup.py:: - $ python setup.py --pure install -or if you are installing from pip:: - $ pip install dulwich --global-option="--pure" -Note that you can also specify --global-option in a -`requirements.txt `_ -file, e.g. like this:: - dulwich --global-option=--pure + + Python implementation of the Git file formats and protocols, + without the need to have git installed. + + All functionality is available in pure Python. Optional + C extensions can be built for improved performance. + + The project is named after the part of London that Mr. and Mrs. Git live in + in the particular Monty Python sketch. + %prep -%autosetup -n dulwich-0.20.11 +%autosetup -n dulwich-0.15.0 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -98,12 +84,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-dulwich -f filelist.lst -%dir %{python3_sitearch}/* +%files -n python2-dulwich -f filelist.lst +%{_libdir}/python2.7/site-packages/* %files help -f doclist.lst %{_docdir}/* %changelog -* Fri Nov 20 2020 Python_Bot +* Sun May 23 2021 openstack-sig +- Fix Provides +* Tue May 11 2021 openstack-sig - Package Spec generated