commit 9ef1bdec4e73f0291d122afd8744c60979a8f688
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Sep 23 19:32:09 2019 +0100
Tweak %%if for el8
rfpkg.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rfpkg.spec b/rfpkg.spec
index fcbdc00..6fa576c 100644
--- a/rfpkg.spec
+++ b/rfpkg.spec
@@ -17,7 +17,7 @@ Patch1: koji_destname.patch
BuildArch: noarch
# fedpkg command switched to python3 on Fedora 30 and RHEL > 8:
-%if 0%{?fedora} > 29 || 0%{?rhel} > 8
+%if 0%{?fedora} > 29 || 0%{?rhel} > 7
%bcond_with python2
%else
%bcond_without python2
@@ -86,7 +86,7 @@ RPM Fusion utility for working with dist-git.
%prep
%setup -q
-%if 0%{?fedora} > 29 || 0%{?rhel} > 8
+%if 0%{?fedora} > 29 || 0%{?rhel} > 7
%patch0 -p1
%endif
%patch1 -p1