diff --git a/python-dulwich.spec b/python-dulwich.spec index fe61f68..b06cbe0 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -1,24 +1,29 @@ Name: python-dulwich -Version: 0.19.16 -Release: 1mamba +Version: 0.20.21 +Release: 2mamba Summary: Python implementation of Git Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino -URL: http://www.samba.org/~jelmer/dulwich -Source: https://pypi.python.org/packages/source/d/dulwich/dulwich-%{version}.tar.gz +URL: https://www.dulwich.io/ +Source: https://pypi.debian.net/dulwich/dulwich-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(certifi) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(urllib3) ## AUTOBUILDREQ-END -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n dulwich-%{version} @@ -34,13 +39,21 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/dulwich-%{version}-py*.egg-info +%{python_sitearch}/dulwich-%{version}-py*.egg-info/* %doc COPYING NEWS %changelog +* Tue Apr 06 2021 Silvan Calarco 0.20.21-2mamba +- fix missing %pyappend in files section + +* Mon Apr 05 2021 Silvan Calarco 0.20.21-1mamba +- update to 0.20.21 + * Sat Apr 18 2020 Automatic Build System 0.19.16-1mamba - automatic version update by autodist