Only weaken the R for CentOS.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Thu, 15 Oct 2009 00:25:07 +0000 (00:25 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Thu, 15 Oct 2009 00:25:07 +0000 (00:25 +0000)
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