From c18c6bbfa460306b0192980d70b3801c2dab2415 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Jun 06 2017 13:29:14 +0000 Subject: require mod_auth_gssapi instead of mod_auth_kerb where applicable Fixes: #443 https://pagure.io/koji/issue/443 --- diff --git a/koji.spec b/koji.spec index 694a940..f39effb 100644 --- a/koji.spec +++ b/koji.spec @@ -100,6 +100,9 @@ License: LGPLv2 and GPLv2 # rpmdiff lib (from rpmlint) is GPLv2 (only) Requires: httpd Requires: mod_wsgi +%if 0%{?fedora} >= 21 || 0%{?redhat} >= 7 +Requires: mod_auth_gssapi +%endif Requires: python-psycopg2 %if 0%{?rhel} == 5 Requires: python-simplejson @@ -220,7 +223,11 @@ Group: Applications/Internet License: LGPLv2 Requires: httpd Requires: mod_wsgi +%if 0%{?fedora} >= 21 || 0%{?redhat} >= 7 +Requires: mod_auth_gssapi +%else Requires: mod_auth_kerb +%endif Requires: python-psycopg2 Requires: python-cheetah Requires: %{name} = %{version}-%{release}