From c3571d40fd7b1f7c822e254956930a388f7b4d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 25 Nov 2020 10:39:22 +0100 Subject: [PATCH] Disable Python 2 in ELN --- pytz.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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