From 21086f6d31595d7349ba370259c1cbd5eafb3d74 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Fri, 15 Nov 2019 10:07:37 +0100 Subject: [PATCH] do not build python2-pycurl on f32+ --- python-pycurl.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-pycurl.spec b/python-pycurl.spec index 8aaacd9..917af5b 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -9,8 +9,8 @@ %bcond_with python3 %endif -# python2 is not available on RHEL > 7 -%if 0%{?rhel} > 7 +# python2 is not available on and f32+ and el8+ +%if 0%{?fedora} > 31 || 0%{?rhel} > 7 %bcond_with python2 %else %bcond_without python2 @@ -20,7 +20,7 @@ Name: python-%{modname} Version: 7.43.0.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A Python interface to libcurl License: LGPLv2+ or MIT @@ -157,6 +157,9 @@ rm -fv tests/fake-curl/libcurl/*.so %endif %changelog +* Fri Nov 15 2019 Kamil Dudka - 7.43.0.2-10 +- do not build python2-pycurl on f32+ + * Tue Sep 24 2019 Miro HronĨok - 7.43.0.2-9 - Drop unused Python 2 BuildRequires