there is python2-koji on all releases

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko
2017-09-03 13:36:10 +02:00
parent 09c13a8015
commit 168914fdba

View File

@@ -47,11 +47,7 @@ BuildRequires: python-qpid
BuildRequires: python-openidc-client
BuildRequires: python-urlgrabber
%if (0%{?fedora} && 0%{?fedora} <= 26) || (0%{?rhel} && 0%{?rhel} <= 7)
BuildRequires: koji
%else
BuildRequires: python2-koji
%endif
%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: python-setuptools
@@ -90,12 +86,6 @@ BuildRequires: python2-sqlalchemy
BuildRequires: systemd
%{?systemd_requires}
%if (0%{?fedora} && 0%{?fedora} <= 26) || (0%{?rhel} && 0%{?rhel} <= 7)
Requires: koji
%else
Requires: python2-koji
%endif
Requires: systemd
Requires: fedmsg
Requires: fedmsg-hub
@@ -120,6 +110,8 @@ Requires: python-openidc-client
Requires: python-urlgrabber
Requires: python2-dogpile-cache
Requires: python2-koji
# https://bugzilla.redhat.com/show_bug.cgi?id=1466792
Requires: mock-scm