update to 2.8.1

This commit is contained in:
weiwei_150212 2020-07-24 17:07:59 +08:00 committed by zhanliwen
parent b533241223
commit 8b5ad9e887
3 changed files with 11 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -2,8 +2,8 @@
%global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python. %global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python.
Name: python-dateutil Name: python-dateutil
Version: 2.7.0 Version: 2.8.1
Release: 7 Release: 1
Epoch: 1 Epoch: 1
Summary: Powerful extensions to datetime Summary: Powerful extensions to datetime
License: Apache 2.0 or BSD License: Apache 2.0 or BSD
@ -18,7 +18,7 @@ Buildrequires: gdb
%package -n python2-%{_name} %package -n python2-%{_name}
Summary: %{summary} 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 Requires: python2-six tzdata
%{?python_provide:%python_provide python2-%{_name}} %{?python_provide:%python_provide python2-%{_name}}
@ -27,7 +27,7 @@ Requires: python2-six tzdata
%package -n python3-%{_name} %package -n python3-%{_name}
Summary: %{summary} 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 Requires: python3-six tzdata
%{?python_provide:%python_provide python3-%{_name}} %{?python_provide:%python_provide python3-%{_name}}
@ -48,8 +48,7 @@ Requires: python3-six tzdata
%py3_install %py3_install
%check %check
%{__python2} setup.py test %{__python3} -m pytest
%{__python3} setup.py test
%files -n python2-%{_name} %files -n python2-%{_name}
%defattr(-,root,root) %defattr(-,root,root)
@ -70,6 +69,12 @@ Requires: python3-six tzdata
%doc NEWS PKG-INFO RELEASING %doc NEWS PKG-INFO RELEASING
%changelog %changelog
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 1:2.8.1-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:modify the license
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1:2.7.0-7 * Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1:2.7.0-7
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA