From 165bd1faad6030d8533eaed557eead5afbc30063 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Fri, 2 Jun 2017 18:18:55 -0400 Subject: [PATCH 1/2] fix rpm-python dep for python3 --- koji.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koji.spec b/koji.spec index 05859680..72439465 100644 --- a/koji.spec +++ b/koji.spec @@ -82,7 +82,7 @@ desc Summary: Build system tools python library %{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} BuildRequires: python%{python3_pkgversion}-devel -Requires: python%{python3_pkgversion}-rpm +Requires: rpm-python%{python3_pkgversion} Requires: python%{python3_pkgversion}-pyOpenSSL Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-requests-kerberos From 19ce311b410135141529a8a6b3a88d154ef930ba Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Fri, 2 Jun 2017 18:43:09 -0400 Subject: [PATCH 2/2] explicitly require python2 koji lib where py3 not supported --- koji.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/koji.spec b/koji.spec index 72439465..52c58328 100644 --- a/koji.spec +++ b/koji.spec @@ -108,6 +108,8 @@ Requires: python-psycopg2 Requires: python-simplejson %endif Requires: %{name} = %{version}-%{release} +# we need the python2 lib here +Requires: python2-%{name} = %{version}-%{release} %description hub koji-hub is the XMLRPC interface to the koji database @@ -146,6 +148,8 @@ Group: Applications/System License: LGPLv2 and GPLv2+ #mergerepos (from createrepo) is GPLv2+ Requires: %{name} = %{version}-%{release} +# we need the python2 lib here +Requires: python2-%{name} = %{version}-%{release} Requires: mock >= 0.9.14 Requires(pre): /usr/sbin/useradd Requires: squashfs-tools @@ -183,6 +187,8 @@ Summary: Koji virtual machine management daemon Group: Applications/System License: LGPLv2 Requires: %{name} = %{version}-%{release} +# we need the python2 lib here +Requires: python2-%{name} = %{version}-%{release} %if %{use_systemd} Requires(post): systemd Requires(preun): systemd @@ -208,6 +214,8 @@ Group: Applications/Internet License: LGPLv2 Requires: python-psycopg2 Requires: %{name} = %{version}-%{release} +# we need the python2 lib here +Requires: python2-%{name} = %{version}-%{release} %if %{use_systemd} Requires(post): systemd Requires(preun): systemd @@ -231,6 +239,8 @@ Requires: mod_auth_kerb Requires: python-psycopg2 Requires: python-cheetah Requires: %{name} = %{version}-%{release} +# we need the python2 lib here +Requires: python2-%{name} = %{version}-%{release} Requires: python-krbV >= 1.0.13 %description web