From d3ff027f028710fbbe1b83b599e1f9c57cde6e11 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 07:48:26 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-dns.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index 36ab5e7..e3c8e38 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -13,7 +13,7 @@ %global with_python2 1 # Rename to python2-dns after Fedora 23 - %if 0%{?fedora} > 23 + %if 0%{?fedora} > 23 || 0%{?rhel} > 7 %global with_p2subpkg 1 %global python2_pkgversion 2 %else @@ -22,7 +22,7 @@ %endif # Build python3 package for Fedora and EPEL7+ -%if 0%{?fedora} > 12 || 0%{?epel} > 6 +%if 0%{?fedora} > 12 || 0%{?epel} > 6 || 0%{?rhel} > 7 %global with_python3 1 %{!?python3_pkgversion: %global python3_pkgversion 3} %endif @@ -174,6 +174,9 @@ rm -rf %{buildroot} %endif %changelog +* Fri Sep 29 2017 Troy Dawson - 1.15.0-5 +- Cleanup spec file conditionals + * Thu Jul 27 2017 Fedora Release Engineering - 1.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild