From b8c1ac4ea6041aa3f800cb1fb7e1044398ddae97 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Oct 23 2019 11:10:41 +0000 Subject: require python-qpid-proton on RHEL7 --- diff --git a/koji.spec b/koji.spec index 250a11c..12e29b7 100644 --- a/koji.spec +++ b/koji.spec @@ -251,7 +251,11 @@ Summary: Koji hub plugins Group: Applications/Internet License: LGPLv2 Requires: python2-%{name}-hub = %{version}-%{release} +%if 0%{?rhel} < 8 +Requires: python-qpid-proton +%else Requires: python2-qpid-proton +%endif Requires: cpio Provides: %{name}-hub-plugins-code = %{version}-%{release}