From d1d5a14cfca50eef7f1f8dd878d56ae70bc8f88e Mon Sep 17 00:00:00 2001 From: Franz Chih-Ping Hsieh Date: Tue, 12 Jun 2018 23:34:04 -0400 Subject: [PATCH] Enable python3 on RHEL8 build Fixes: #968 --- koji.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koji.spec b/koji.spec index 22cce58b..6f6337be 100644 --- a/koji.spec +++ b/koji.spec @@ -1,5 +1,5 @@ -# Enable Python 3 builds for Fedora -%if 0%{?fedora} +# Enable Python 3 builds for Fedora/RHEL8 +%if 0%{?fedora} || 0%{?rhel} >= 8 %bcond_without python3 # If the definition isn't available for python3_pkgversion, define it %{?!python3_pkgversion:%global python3_pkgversion 3}