rebuilt with python-build and distdeps [release 0.6.1-4mamba;Tue Dec 26 2023]
This commit is contained in:
parent
fc605171c0
commit
7dc00fda34
@ -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 <silvan.calarco@mambasoft.it> 0.6.1-4mamba
|
||||
- rebuilt with python-build and distdeps
|
||||
|
||||
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 0.6.1-3mamba
|
||||
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user