diff --git a/python-webencodings.spec b/python-webencodings.spec index 7bdb3ec..2d2a1ea 100644 --- a/python-webencodings.spec +++ b/python-webencodings.spec @@ -1,19 +1,19 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-webencodings Version: 0.5.1 -Release: 2mamba +Release: 3mamba Summary: A Python implementation of the WHATWG Encoding standard Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://pypi.python.org/pypi/webencodings +URL: https://pypi.org/project/webencodings/ Source: https://pypi.debian.net/webencodings/webencodings-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -37,10 +37,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Sun Feb 13 2022 Silvan Calarco 0.5.1-3mamba +- rebuilt with distdeps + * Sat Apr 11 2020 Silvan Calarco 0.5.1-2mamba - rebuilt wit py3* packages