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