diff --git a/pytz.spec b/pytz.spec index 8b1db91..9e7c790 100644 --- a/pytz.spec +++ b/pytz.spec @@ -1,12 +1,17 @@ -# Prepared for Python 2 removal +# There is an exception to ship python2-pytz on Fedora, for trac: +# https://pagure.io/fesco/issue/2260 +%if 0%{?fedora} %bcond_without python2 +%else +%bcond_with python2 +%endif # Allow build without test %bcond_without tests Name: pytz Version: 2020.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: World Timezone Definitions for Python License: MIT @@ -101,6 +106,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %changelog +* Wed Nov 25 2020 Miro HronĨok - 2020.4-2 +- Disable Python 2 in ELN + * Mon Nov 02 2020 Gwyn Ciesla - 2020.4-1 - 2020.4