Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-29 07:48:26 -07:00
parent b1218612f1
commit d3ff027f02

View File

@ -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 <tdawson@redhat.com> - 1.15.0-5
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild