update to 2019.3

This commit is contained in:
kircher 2020-05-11 20:37:13 +08:00
parent b78fdf656b
commit 4fa2f12bf2
3 changed files with 11 additions and 7 deletions

Binary file not shown.

BIN
pytz-2019.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: pytz
Version: 2019.2
Release: 2
Version: 2019.3
Release: 1
Summary: World Timezone Definitions for Python
License: MIT
URL: http://pytz.sourceforge.net/
Source0: https://github.com/stub42/pytz/archive/pytz-2019.2.tar.gz
Source0: https://github.com/stub42/pytz/archive/pytz-2019.3.tar.gz
Patch0: pytz-zoneinfo.patch
Patch1: remove_tzinfo_test.patch
@ -21,10 +21,8 @@ Python Library Reference (datetime.tzinfo).
%package -n python2-pytz
Summary: python2 for pytz
BuildRequires: python2-devel python2-pytest
BuildRequires: python2-devel python2-setuptools python2-pytest
Requires: tzdata
Provides: pytz = %{version}-%{release}
Obsoletes: pytz < %{version}-%{release}
%{?python_provide:%python_provide python2-%{name}}
%description -n python2-pytz
@ -32,7 +30,7 @@ python2 for pytz
%package -n python3-pytz
Summary: python3 for pytz
BuildRequires: python3-devel python3-pytest
BuildRequires: python3-devel python3-setuptools python3-pytest
Requires: tzdata
%{?python_provide:%python_provide python3-%{name}}
@ -74,6 +72,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%{python3_sitelib}/*
%changelog
* Fri Apr 17 2020 zhangrui <zhangrui182@huawei.com> - 2019.3-1
- Type:update
- ID:NA
- SUG:NA
- DESC:update to 2019.3
* Tue Jan 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 2019.2-2
- Type:bugfix
- ID:NA