From bc76ec05288edc7af143898dc73ff37cf32d2cd1 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:46:52 +0100 Subject: [PATCH] automatic version update by autodist [release 1.7-1mamba;Fri Oct 07 2022] --- python-toposort.spec | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/python-toposort.spec b/python-toposort.spec index f8d49ca..3779636 100644 --- a/python-toposort.spec +++ b/python-toposort.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-toposort -Version: 1.6 -Release: 2mamba +Version: 1.7 +Release: 1mamba Summary: Implements a topological sort algorithm Group: System/Libraries Vendor: openmamba @@ -25,25 +25,24 @@ BuildRequires: libpython3-devel %setup -q -n toposort-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist - -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info -%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%{python_sitelib}/%{pkgname}.py +%{python_sitelib}/__pycache__/toposort.cpython-*.pyc +%doc LICENSE.txt %changelog +* Fri Oct 07 2022 Automatic Build System 1.7-1mamba +- automatic version update by autodist + * Mon Feb 14 2022 Silvan Calarco 1.6-2mamba - rebuilt with distdeps