From 6bab110bbaea064043da881f43e8c7f69772f880 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 21 Dec 2020 15:34:36 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/pytz.git#c25108188eaf4cbe08895ed5c7387966769a7749 --- pytz.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pytz.spec b/pytz.spec index 9e7c790..94e9252 100644 --- a/pytz.spec +++ b/pytz.spec @@ -1,6 +1,7 @@ # There is an exception to ship python2-pytz on Fedora, for trac: # https://pagure.io/fesco/issue/2260 -%if 0%{?fedora} +# Trac has been switched to Python 3 in Fedora 34 +%if 0%{?fedora} && 0%{?fedora} < 34 %bcond_without python2 %else %bcond_with python2 @@ -11,7 +12,7 @@ Name: pytz Version: 2020.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: World Timezone Definitions for Python License: MIT @@ -106,6 +107,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %changelog +* Mon Dec 21 2020 Miro Hrončok - 2020.4-3 +- Disable Python 2 in Fedora 34+ + * Wed Nov 25 2020 Miro Hrončok - 2020.4-2 - Disable Python 2 in ELN