mirror of https://github.com/Icinga/icinga2.git
There is no mysql-libs package on el5.
This commit is contained in:
parent
45fd744aee
commit
c2ec11e1e5
|
@ -65,8 +65,13 @@ BuildRequires: libmysqlclient-devel
|
|||
Requires: libmysqlclient18
|
||||
%endif
|
||||
%if "%{_vendor}" == "redhat"
|
||||
# el5 only provides mysql package
|
||||
%if 0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5"
|
||||
BuildRequires: mysql
|
||||
%else
|
||||
BuildRequires: mysql-libs
|
||||
BuildRequires: mysql
|
||||
%fi
|
||||
BuildRequires: mysql-devel
|
||||
Requires: mysql
|
||||
%endif
|
||||
|
|
Loading…
Reference in New Issue