Fix package dependencies for RHEL 5.

Refs #4999
This commit is contained in:
Gunnar Beutner 2013-11-05 10:43:43 +01:00
parent de6cac6e4a
commit 54111b6293
1 changed files with 6 additions and 0 deletions

View File

@ -159,6 +159,12 @@ Group: Applications/System
%if "%{_vendor}" == "suse"
BuildRequires: postgresql-libs
%endif
%if "%{_vendor}" == "redhat"
# el5 only provides mysql package
%if 0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5"
BuildRequires: postgresql84
%endif
%endif
BuildRequires: postgresql-devel
Requires: postgresql-libs
Requires: %{name} = %{version}-%{release}