Disable python2 bindings in Fedora 31 and above

This commit is contained in:
Tomas Mraz 2019-08-12 11:54:59 +02:00
parent eddf9fa80d
commit feba7a5b14

View File

@ -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 <tmraz@redhat.com> 1.4.0-14
- Disable python2 bindings in Fedora 31 and above
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild