| |
@@ -6,7 +6,7 @@
|
| |
|
| |
Name: python3-dateutil
|
| |
Version: 2.4.2
|
| |
- Release: 3%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
Epoch: 1
|
| |
Summary: Powerful extensions to the standard datetime module
|
| |
|
| |
@@ -41,6 +41,21 @@
|
| |
|
| |
This is the version for Python 3.
|
| |
|
| |
+ %package -n python%{python3_other_pkgversion}-dateutil
|
| |
+ Summary: Powerful extensions to the standard datetime module
|
| |
+ BuildRequires: python%{python3_other_pkgversion}-devel
|
| |
+ BuildRequires: python%{python3_other_pkgversion}-setuptools
|
| |
+ BuildRequires: python%{python3_other_pkgversion}-six
|
| |
+
|
| |
+ Requires: python%{python3_other_pkgversion}-six
|
| |
+ Requires: tzdata
|
| |
+
|
| |
+ %description -n python%{python3_other_pkgversion}-dateutil
|
| |
+ The dateutil module provides powerful extensions to the standard datetime
|
| |
+ module available in Python 2.3+.
|
| |
+
|
| |
+ This is the version for Python 3.
|
| |
+
|
| |
%package doc
|
| |
Summary: API documentation for python-dateutil
|
| |
|
| |
@@ -55,12 +70,15 @@
|
| |
|
| |
%build
|
| |
%{__python3} setup.py build
|
| |
+ %{__python3_other} setup.py build
|
| |
|
| |
%install
|
| |
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| |
+ %{__python3_other} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| |
|
| |
%check
|
| |
%{__python3} setup.py test
|
| |
+ %{__python3_other} setup.py test
|
| |
|
| |
%files -n python%{python3_pkgversion}-dateutil
|
| |
%license LICENSE
|
| |
@@ -68,7 +86,16 @@
|
| |
%{python3_sitelib}/dateutil/
|
| |
%{python3_sitelib}/*.egg-info
|
| |
|
| |
+ %files -n python%{python3_other_pkgversion}-dateutil
|
| |
+ %license LICENSE
|
| |
+ %doc NEWS README.rst
|
| |
+ %{python3_other_sitelib}/dateutil/
|
| |
+ %{python3_other_sitelib}/*.egg-info
|
| |
+
|
| |
%changelog
|
| |
+ * Wed Jan 16 2019 Scott K Logan <logans@cottsay.net> - 1:2.4.2-4
|
| |
+ - Support python36 on epel7.
|
| |
+
|
| |
* Thu Jun 25 2015 Ralph Bean <rbean@redhat.com> - 1:2.4.2-3
|
| |
- Support python34 on epel7.
|
| |
|
| |
The Python 3.6 prerequisites exist in EPEL7, and the Python 3.6 project I'm working with will require dateutil.