diff --git a/python-dateutil-2.7.0.tar.gz b/python-dateutil-2.7.0.tar.gz deleted file mode 100644 index 5cb75b63b6e488243b30a44d35cca3819da12bca..0000000000000000000000000000000000000000 Binary files a/python-dateutil-2.7.0.tar.gz and /dev/null differ diff --git a/python-dateutil-2.8.1.tar.gz b/python-dateutil-2.8.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4aeeb44b86aecbeaa6882df76d820944cbc4f0d5 Binary files /dev/null and b/python-dateutil-2.8.1.tar.gz differ diff --git a/python-dateutil.spec b/python-dateutil.spec index 31fa8d75cd3d81c1feb787ab349db4aafe1eb581..62564a05b2436a97d8ca03d7bd2c4d4e24615620 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -2,8 +2,8 @@ %global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python. Name: python-dateutil -Version: 2.7.0 -Release: 7 +Version: 2.8.1 +Release: 1 Epoch: 1 Summary: Powerful extensions to datetime License: Apache 2.0 or BSD @@ -18,7 +18,7 @@ Buildrequires: gdb %package -n python2-%{_name} Summary: %{summary} -Buildrequires: python2-devel python2-setuptools python2-setuptools_scm python2-six +Buildrequires: python2-devel python2-setuptools python2-setuptools_scm python2-six python2-pytest python2-freezegun python2-hypothesis Requires: python2-six tzdata %{?python_provide:%python_provide python2-%{_name}} @@ -27,7 +27,7 @@ Requires: python2-six tzdata %package -n python3-%{_name} Summary: %{summary} -Buildrequires: python3-devel python3-setuptools python3-setuptools_scm python2-six +Buildrequires: python3-devel python3-setuptools python3-setuptools_scm python3-six python3-pytest python3-freezegun python3-hypothesis Requires: python3-six tzdata %{?python_provide:%python_provide python3-%{_name}} @@ -48,8 +48,7 @@ Requires: python3-six tzdata %py3_install %check -%{__python2} setup.py test -%{__python3} setup.py test +%{__python3} -m pytest %files -n python2-%{_name} %defattr(-,root,root) @@ -70,6 +69,12 @@ Requires: python3-six tzdata %doc NEWS PKG-INFO RELEASING %changelog +* Thu Jul 23 2020 dingyue - 1:2.8.1-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:modify the license + * Fri Sep 27 2019 shenyangyang - 1:2.7.0-7 - Type:enhancement - ID:NA