Do not build python2 subpackage on Fedora 30 (#1629800)

Signed-off-by: Petr Menšík <pemensik@redhat.com>
This commit is contained in:
Petr Menšík 2018-09-26 17:00:30 +02:00
parent 0c1cad6904
commit f06ef371c4

View File

@ -1,7 +1,7 @@
%global _hardened_build 1
%bcond_without python3
%if 0%{?rhel} > 7
%if 0%{?rhel} > 7 || 0%{?fedora} > 29
%bcond_with python2
%else
%bcond_without python2
@ -39,7 +39,7 @@
Summary: Low-level DNS(SEC) library with API
Name: ldns
Version: 1.7.0
Release: 21%{?dist}
Release: 22%{?dist}
License: BSD
Url: http://www.nlnetlabs.nl/%{name}/
@ -353,6 +353,9 @@ rm -rf doc/man
%doc doc
%changelog
* Wed Sep 26 2018 Petr Menšík <pemensik@redhat.com> - 1.7.0-22
- Do not build python2 subpackage on Fedora 30 (#1629800)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild