URL: https://github.com/freeipa/freeipa/pull/1318 Author: tiran Title: #1318: [Backport][ipa-4-6] Prevent installation of Py2 and Py3 mod_wsgi Action: opened
PR body: """ This PR was opened automatically because PR #1306 was pushed to master and backport to ipa-4-6 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1318/head:pr1318 git checkout pr1318
From b1150ee3b9f4b484e1a450e4ffe2afa0da04c512 Mon Sep 17 00:00:00 2001 From: Christian Heimes <chei...@redhat.com> Date: Mon, 20 Nov 2017 16:12:45 +0100 Subject: [PATCH] Prevent installation of Py2 and Py3 mod_wsgi FreeIPA is either compatible with Python 2 mod_wsgi or Python 3 mod_wsgi. mod_wsgi can not coexist in the same Apache process as mod_wsgi_python3. When both mod_wsgi and python3-mod_wsgi are installed, the first loaded module wins and the other one is never loaded. Add conflict on the other module to prevent installation of both modules. https://pagure.io/freeipa/issue/7161 Signed-off-by: Christian Heimes <chei...@redhat.com> --- freeipa.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index dc6bcb2a7e..e47a084757 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -300,14 +300,16 @@ Requires: httpd >= 2.4.6-31 Requires(preun): python3 Requires(postun): python3 Requires: python3-gssapi >= 1.2.0-5 -Requires: python3-mod_wsgi Requires: python3-systemd +Requires: python3-mod_wsgi +Conflicts: mod_wsgi %else Requires(preun): python2 Requires(postun): python2 Requires: python2-gssapi >= 1.2.0-5 Requires: python2-systemd Requires: mod_wsgi +Conflicts: python3-mod_wsgi %endif Requires: mod_auth_gssapi >= 1.5.0 # 1.0.14-3: https://bugzilla.redhat.com/show_bug.cgi?id=1431206
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org