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:
parent
de06b814ca
commit
5dab1ed795
@ -1,6 +1,6 @@
|
||||
Name: python-dateutil
|
||||
Version: 2.5.3
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Extensions to the standard python datetime module
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -10,13 +10,19 @@ URL: http://labix.org/python-dateutil
|
||||
Source: https://pypi.debian.net/python-dateutil/python-dateutil-%{version}.tar.gz
|
||||
License: PSF
|
||||
Requires: python >= %python_version
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
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
|
||||
|
||||
%build
|
||||
@ -25,19 +31,22 @@ The dateutil module provides powerful extensions to the standard datetime module
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch}
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/dateutil/*
|
||||
%{python_sitearch}/python_dateutil-%{version}-py*.egg-info/*
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user