From feba7a5b1422fb757d6b9e007d464f16e8c6ff58 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Aug 12 2019 09:54:59 +0000 Subject: Disable python2 bindings in Fedora 31 and above --- diff --git a/libpwquality.spec b/libpwquality.spec index c1e6b02..8ef1a42 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -5,7 +5,7 @@ %bcond_with python3 %endif -%if 0%{?rhel} > 7 && %{with python3} +%if 0%{?rhel} > 7 || 0%{?fedora} > 30 # Disable python2 build by default %bcond_with python2 %else @@ -15,7 +15,7 @@ Summary: A library for password generation and password quality checking Name: libpwquality Version: 1.4.0 -Release: 13%{?dist} +Release: 14%{?dist} # The package is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. License: BSD or GPLv2+ @@ -180,6 +180,9 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d %endif %changelog +* Mon Aug 12 2019 Tomáš Mráz 1.4.0-14 +- Disable python2 bindings in Fedora 31 and above + * Thu Jul 25 2019 Fedora Release Engineering - 1.4.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild