diff --git a/python-dateutil.spec b/python-dateutil.spec index 7fbac0611af2a000a57944d5b901d0551ad728a8..72f28efebaff3d675f68b68d1f0fb6f9d82149fa 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -3,7 +3,7 @@ Name: python-dateutil Version: 2.8.1 -Release: 2 +Release: 3 Epoch: 1 Summary: Powerful extensions to datetime License: Apache 2.0 or BSD @@ -18,7 +18,8 @@ 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 +Buildrequires: python2-hypothesis python2-freezegun Requires: python2-six tzdata %{?python_provide:%python_provide python2-%{_name}} @@ -27,7 +28,8 @@ 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 +Buildrequires: python3-hypothesis python3-freezegun Requires: python3-six tzdata %{?python_provide:%python_provide python3-%{_name}} @@ -48,8 +50,10 @@ Requires: python3-six tzdata %py3_install %check -%{__python2} setup.py test -%{__python3} setup.py test +%{__python3} -m pytest +%{__python2} -m pytest \ + --ignore dateutil/test/property \ + -k 'not gettz_badzone_unicode' %files -n python2-%{_name} %defattr(-,root,root) @@ -70,6 +74,12 @@ Requires: python3-six tzdata %doc NEWS PKG-INFO RELEASING %changelog +* Sat Dec 12 2020 tianwei - 1:2.8.1-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:test failure in check + * Wed May 13 2020 wangchen - 1:2.8.1-2 - Type:bugfix - ID:NA