%define name PLCAPI
%define version 4.3
-%define taglevel 27
+%define taglevel 28
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
# We use set everywhere
Requires: python >= 2.4
-Requires: postgresql >= 8.2, postgresql-server >= 8.2, postgresql-python >= 8.2
+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
/var/www/html/wsdl/plcapi.wsdl
%changelog
+* Thu Oct 15 2009 Daniel Hokka Zakrisson <daniel@hozac.com> - PLCAPI-4.3-28
+- Fix requires for CentOS.
+
* Fri Oct 09 2009 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - PLCAPI-4.3-27
- Require postgresql 8.2 (for array operators && and @>)