Only weaken the R for CentOS.
[plcapi.git] / PLCAPI.spec
index 5492683..99ab9bc 100644 (file)
@@ -29,7 +29,11 @@ Obsoletes: plcapilib
 # We use set everywhere
 Requires: python >= 2.4
 Requires: postgresql >= 8.2, postgresql-server >= 8.2
+%if "%{?distro}" == "CentOS"
 Requires: postgresql-python
+%else
+Requires: postgresql-python >= 8.2
+%endif
 Requires: python-psycopg2
 Requires: python-pycurl
 Requires: httpd