diff --git a/freeipa.spec.in b/freeipa.spec.in index 7c39d343d..7e9ad5f32 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -304,14 +304,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