From 9869d52bab70bb144d51835dc4e70a61a5788ffa Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Aug 21 2017 13:47:33 +0000 Subject: Make the IPA server run under Python 3 by default Set python3-mod_wsgi as a requirement for FreeIPA in the spec file if with_python3 is specified so that httpd runs IPA server under Python 3. https://pagure.io/freeipa/issue/4985 Reviewed-By: Tomas Krizek Reviewed-By: Christian Heimes --- diff --git a/freeipa.spec.in b/freeipa.spec.in index 879781d..33f5474 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -293,7 +293,11 @@ Requires: krb5-pkinit-openssl >= %{krb5_version} Requires: cyrus-sasl-gssapi%{?_isa} Requires: ntp Requires: httpd >= 2.4.6-31 +%if 0%{with_python3} +Requires: python3-mod_wsgi +%else Requires: mod_wsgi +%endif Requires: mod_auth_gssapi >= 1.5.0 # 1.0.14-3: https://bugzilla.redhat.com/show_bug.cgi?id=1431206 Requires: mod_nss >= 1.0.14-3