diff --git a/pytz-2019.3.tar.gz b/pytz-2019.3.tar.gz deleted file mode 100644 index 9686470e4eb762fd3a02403bda9dadbab3203d91..0000000000000000000000000000000000000000 Binary files a/pytz-2019.3.tar.gz and /dev/null differ diff --git a/pytz-2020.1.tar.gz b/pytz-2020.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e39fea798845c7d7d14ca98c590007308a3f7926 Binary files /dev/null and b/pytz-2020.1.tar.gz differ diff --git a/pytz-zoneinfo.patch b/pytz-zoneinfo.patch index 99618b294c00e08c9c7daabcbe1c346e4dc986ef..076159ef216f1f7dc20cc34c17af05aab8729d11 100644 --- a/pytz-zoneinfo.patch +++ b/pytz-zoneinfo.patch @@ -40,7 +40,7 @@ index d217c96..2b1ac03 100644 --- pytz-2019.2/pytz/__init__.py~ 2019-07-31 12:32:00.000000000 -0500 +++ pytz-2019.2/pytz/__init__.py 2019-07-31 12:44:07.995969364 -0500 -@@ -495,1044 +495,37 @@ +@@ -495,1045 +495,37 @@ if __name__ == '__main__': _test() @@ -220,6 +220,7 @@ index d217c96..2b1ac03 100644 - 'America/North_Dakota/Beulah', - 'America/North_Dakota/Center', - 'America/North_Dakota/New_Salem', +- 'America/Nuuk', - 'America/Ojinaga', - 'America/Panama', - 'America/Pangnirtung', @@ -759,7 +760,6 @@ index d217c96..2b1ac03 100644 - 'America/Fort_Nelson', - 'America/Fortaleza', - 'America/Glace_Bay', -- 'America/Godthab', - 'America/Goose_Bay', - 'America/Grand_Turk', - 'America/Grenada', @@ -813,6 +813,7 @@ index d217c96..2b1ac03 100644 - 'America/North_Dakota/Beulah', - 'America/North_Dakota/Center', - 'America/North_Dakota/New_Salem', +- 'America/Nuuk', - 'America/Ojinaga', - 'America/Panama', - 'America/Pangnirtung', diff --git a/pytz.spec b/pytz.spec index d1ff8f144760d3a78e6e96000a7992dac2865bc7..d8eb2f187fcda86272b8950b9d5d555a9deada3c 100644 --- a/pytz.spec +++ b/pytz.spec @@ -1,14 +1,14 @@ Name: pytz -Version: 2019.3 +Version: 2020.1 Release: 1 Summary: World Timezone Definitions for Python License: MIT URL: http://pytz.sourceforge.net/ -Source0: https://github.com/stub42/pytz/archive/pytz-2019.3.tar.gz +Source0: https://files.pythonhosted.org/packages/f4/f6/94fee50f4d54f58637d4b9987a1b862aeb6cd969e73623e02c5c00755577/pytz-2020.1.tar.gz Patch0: pytz-zoneinfo.patch Patch1: remove_tzinfo_test.patch -Patch9000: 0001-modify-timezone-from-Macau-to-Macao.patch +Patch2: 0001-modify-timezone-from-Macau-to-Macao.patch BuildArch: noarch @@ -61,17 +61,23 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %files -n python2-pytz %defattr(-,root,root) -%doc README.txt +%doc README.rst %license LICENSE.txt %{python2_sitelib}/* %files -n python3-pytz %defattr(-,root,root) -%doc README.txt +%doc README.rst %license LICENSE.txt %{python3_sitelib}/* %changelog +* Wed Aug 26 2020 lunankun - 2020.1-1 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:update pytz to 2020.1 + * Fri Apr 17 2020 zhangrui - 2019.3-1 - Type:update - ID:NA