From: Daniel Hokka Zakrisson Date: Thu, 15 Oct 2009 00:25:07 +0000 (+0000) Subject: Only weaken the R for CentOS. X-Git-Tag: PLCAPI-4.3-28~2 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=59e44c9034c088eb546b324fb49fd229ed43ed0b Only weaken the R for CentOS. --- diff --git a/PLCAPI.spec b/PLCAPI.spec index 5492683..99ab9bc 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -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