From 59e44c9034c088eb546b324fb49fd229ed43ed0b Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 15 Oct 2009 00:25:07 +0000 Subject: [PATCH] Only weaken the R for CentOS. --- PLCAPI.spec | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.43.0