update the specfile to allow the automatic buid of the python3 subpackage [release 2.5.3-2mamba;Mon Jul 18 2016]

This commit is contained in:
Davide Madrisan 2024-01-06 11:01:37 +01:00
parent de06b814ca
commit 5dab1ed795

View File

@ -1,6 +1,6 @@
Name: python-dateutil Name: python-dateutil
Version: 2.5.3 Version: 2.5.3
Release: 1mamba Release: 2mamba
Summary: Extensions to the standard python datetime module Summary: Extensions to the standard python datetime module
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -10,13 +10,19 @@ URL: http://labix.org/python-dateutil
Source: https://pypi.debian.net/python-dateutil/python-dateutil-%{version}.tar.gz Source: https://pypi.debian.net/python-dateutil/python-dateutil-%{version}.tar.gz
License: PSF License: PSF
Requires: python >= %python_version Requires: python >= %python_version
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The dateutil module provides powerful extensions to the standard datetime module, available since Python 2.3+. The dateutil module provides powerful extensions to the standard datetime module, available since Python 2.3+.
%prep %if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q %setup -q
%build %build
@ -25,19 +31,22 @@ The dateutil module provides powerful extensions to the standard datetime module
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python_inc} \
--install-lib=%{python_sitearch} --install-lib=%{python_sitearch} \
--record=%{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/dateutil/*
%{python_sitearch}/python_dateutil-%{version}-py*.egg-info/*
%changelog %changelog
* Mon Jul 18 2016 Davide Madrisan <davide.madrisan@gmail.com> 2.5.3-2mamba
- update the specfile to allow the automatic buid of the python3 subpackage
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba * Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
- automatic version update by autodist - automatic version update by autodist