diff --git a/pytz.spec b/pytz.spec index 059b100e260beb518ca147086166a7d122386cf4..622e1b17a3535d578bf73dd97e1ae2c731224393 100644 --- a/pytz.spec +++ b/pytz.spec @@ -2,7 +2,7 @@ Name: pytz Version: 2021.3 -Release: 1 +Release: 2 Summary: World Timezone Definitions for Python License: MIT URL: http://pytz.sourceforge.net/ @@ -52,6 +52,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %{python3_sitelib}/* %changelog +* Tue Jun 21 2022 yanglu - 2021.3-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove useless patch + * Wed Dec 08 2021 yanglu - 2021.3-1 - Update version to 2021.3 diff --git a/remove_tzinfo_test.patch b/remove_tzinfo_test.patch deleted file mode 100644 index 226b97a91b088075d0fef343cd118fff41754a5f..0000000000000000000000000000000000000000 --- a/remove_tzinfo_test.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/pytz/tests/test_tzinfo.py b/pytz/tests/test_tzinfo.py -index b2640a8..4f5322b 100644 ---- a/pytz/tests/test_tzinfo.py -+++ b/pytz/tests/test_tzinfo.py -@@ -155,6 +155,7 @@ class PicklingTest(unittest.TestCase): - self._roundtrip_tzinfo(localized_tz) - self._roundtrip_datetime(dt.replace(tzinfo=localized_tz)) - -+ @unittest.skip('Fails with system-wide timezone database') - def testRoundtrip(self): - for zone in pytz.all_timezones: - tz = pytz.timezone(zone)