diff --git a/python-toposort.spec b/python-toposort.spec index f90bc2e..f8d49ca 100644 --- a/python-toposort.spec +++ b/python-toposort.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-toposort Version: 1.6 -Release: 1mamba +Release: 2mamba Summary: Implements a topological sort algorithm Group: System/Libraries Vendor: openmamba @@ -10,11 +11,8 @@ URL: https://pypi.org/project/toposort/ Source: https://pypi.debian.net/toposort/toposort-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-toposort' to get the list of build requirements. +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -38,18 +36,17 @@ 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 %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so - -## note: add extra documentation (if any) -# %doc README.txt +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Mon Feb 14 2022 Silvan Calarco 1.6-2mamba +- rebuilt with distdeps + * Fri Dec 18 2020 Automatic Build System 1.6-1mamba - automatic version update by autodist