From 7dc00fda345fe4e5e1508dc83d83d35d2a2cdb68 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:18:34 +0100 Subject: [PATCH] rebuilt with python-build and distdeps [release 0.6.1-4mamba;Tue Dec 26 2023] --- python-isodate.spec | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/python-isodate.spec b/python-isodate.spec index 56c37ca..61956d4 100644 --- a/python-isodate.spec +++ b/python-isodate.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-isodate Version: 0.6.1 -Release: 3mamba +Release: 4mamba Summary: An ISO 8601 date/time/duration parser and formatter Group: System/Libraries/Python Vendor: openmamba @@ -11,6 +12,7 @@ Source: https://pypi.debian.net/isodate/isodate-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel +BuildRequires: python3.11dist(six) ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba @@ -25,24 +27,30 @@ BuildRequires: python3-devel >= 3.11.5-3mamba %setup -q -n isodate-%{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=%{_includedir}/python \ - --install-lib=%{python_sitearch} \ - --single-version-externally-managed \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/{csv2rdf}; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %changelog +* Tue Dec 26 2023 Silvan Calarco 0.6.1-4mamba +- rebuilt with python-build and distdeps + * Tue Sep 26 2023 Automatic Build System 0.6.1-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba