From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Tue, 5 Feb 2013 08:27:03 +0000 (+0100)
Subject: require mod_wsgi *OR* mod_python
X-Git-Tag: plcapi-5.2-1~22
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4b8214e66b8d24b1447697db9e5e21e76595b9c5;p=plcapi.git

require mod_wsgi *OR* mod_python
---

diff --git a/PLCAPI.spec b/PLCAPI.spec
index b31dfe86..48cbf261 100644
--- a/PLCAPI.spec
+++ b/PLCAPI.spec
@@ -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