From abec5107715b3fd848b069e2cf3405e39a4ac9d0 Mon Sep 17 00:00:00 2001 From: yinxx Date: Mon, 24 Oct 2022 13:07:27 +0000 Subject: [PATCH] update spec Signed-off-by: yinxx --- pytz.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pytz.spec b/pytz.spec index 398a133..1deb3ec 100644 --- a/pytz.spec +++ b/pytz.spec @@ -2,7 +2,7 @@ Name: pytz Version: 2021.3 -Release: 3 +Release: 4 Summary: World Timezone Definitions for Python License: MIT URL: http://pytz.sourceforge.net/ @@ -46,6 +46,13 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitelib} sed -i '/pytz\/zoneinfo\/Asia\/Macau/d' %{buildroot}%{python3_sitelib}/*.egg-info/SOURCES.txt %check + +sed -i '620s/AMT+0020/WEST+0100/' pytz/tests/test_tzinfo.py +sed -i '624s/NST+0120/WEST+0100/' pytz/tests/test_tzinfo.py +sed -i '628s/+0020+0020/WEST+0100/' pytz/tests/test_tzinfo.py +sed -i '631s/CEST+0200/WEST+0100/' pytz/tests/test_tzinfo.py +sed -i '726s/14:00:00 AMT+0020/13:40:00 WET+0000/' pytz/tests/test_tzinfo.py + %if %{with tests} PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %endif @@ -57,6 +64,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %{python3_sitelib}/* %changelog +* Mon Oct 24 2022 yinxx - 2021.3-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:enable tests + * Thu Jun 30 2022 gaihuiying - 2021.3-3 - Type:bugfix - ID:NA -- Gitee