reenable Python 2 subpackage for Fedora 33+ (rhbz #1737930)

Trac still requires Python 2.
This commit is contained in:
Felix Schwarz 2020-05-08 22:32:32 +02:00
parent 1aeed12894
commit 4085158e55

View File

@ -6,10 +6,6 @@
# And pytest is at this point not yet ready
%bcond_with bootstrap
# Build without Python 2 support from F33 on.
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 33 || 0%{?rhel} >= 9
%bcond_with python2
%else
%bcond_without python2
# We ship python2-pytest only up to F31.
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 32 || 0%{?rhel} >= 9
@ -17,12 +13,11 @@
%else
%bcond_without python2_pytest
%endif
%endif
Name: babel
Version: 2.8.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Tools for internationalizing Python applications
License: BSD
@ -180,6 +175,9 @@ export TZ=America/New_York
%endif
%changelog
* Fri May 08 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.8.0-4
- reenable Python 2 subpackage for Fedora 33+ (rhbz #1737930)
* Tue May 05 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.8.0-3
- add patch for compatibility with Python 3.9a6