From b15c1d2f905b23718465f3d9fe7bd3b815b74912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 24 Nov 2020 01:01:30 +0100 Subject: [PATCH] Disable Python 2 build on RHEL 9+ --- babel.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/babel.spec b/babel.spec index c7b3df1..98bcad8 100644 --- a/babel.spec +++ b/babel.spec @@ -6,12 +6,18 @@ # And pytest is at this point not yet ready %bcond_with bootstrap +# There is an exception to ship python2-babel on Fedora, for trac: +# https://pagure.io/fesco/issue/2260 +%if 0%{?fedora} %bcond_without python2 +%else +%bcond_with python2 +%ednif Name: babel Version: 2.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tools for internationalizing Python applications License: BSD @@ -159,6 +165,9 @@ export TZ=UTC %endif %changelog +* Tue Nov 24 2020 Miro HronĨok +- Disable Python 2 build on RHEL 9+ + * Mon Nov 16 22:22:25 CET 2020 Felix Schwarz - 2.9.0-1 - update to 2.9.0