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
|
Name: python-isodate
|
||||||
Version: 0.6.1
|
Version: 0.6.1
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: An ISO 8601 date/time/duration parser and formatter
|
Summary: An ISO 8601 date/time/duration parser and formatter
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -11,6 +12,7 @@ Source: https://pypi.debian.net/isodate/isodate-%{version}.tar.gz
|
|||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython311-devel
|
BuildRequires: libpython311-devel
|
||||||
|
BuildRequires: python3.11dist(six)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python3-devel >= 3.11.5-3mamba
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||||
|
|
||||||
@ -25,24 +27,30 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
|
|||||||
%setup -q -n isodate-%{version}
|
%setup -q -n isodate-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{_includedir}/python \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--single-version-externally-managed \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
#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)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user