require mod_wsgi *OR* mod_python
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 5 Feb 2013 08:27:03 +0000 (09:27 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 5 Feb 2013 08:27:03 +0000 (09:27 +0100)
PLCAPI.spec

index b31dfe8..48cbf26 100644 (file)
@@ -27,11 +27,12 @@ Requires: postgresql-python
 Requires: python-psycopg2
 Requires: python-pycurl
 Requires: httpd
-%if "%{distro}" == "Fedora" && %{distrorelease} <= 17
+%if "%{distro}" == "Fedora" && %{distrorelease} < 16
 Requires: mod_python
-%endif
+%else
 # mod_wsgi will replace mod_python when we are ready
 Requires: mod_wsgi
+%endif
 Requires: mod_ssl
 Requires: SOAPpy
 Requires: python-simplejson