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,13 +65,18 @@ BuildRequires: libmysqlclient-devel
|
||||||
Requires: libmysqlclient18
|
Requires: libmysqlclient18
|
||||||
%endif
|
%endif
|
||||||
%if "%{_vendor}" == "redhat"
|
%if "%{_vendor}" == "redhat"
|
||||||
|
# el5 only provides mysql package
|
||||||
|
%if 0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5"
|
||||||
|
BuildRequires: mysql
|
||||||
|
%else
|
||||||
BuildRequires: mysql-libs
|
BuildRequires: mysql-libs
|
||||||
BuildRequires: mysql
|
BuildRequires: mysql
|
||||||
|
%fi
|
||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
Requires: mysql
|
Requires: mysql
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description ido-mysql
|
%description ido-mysql
|
||||||
Icinga 2 IDO mysql database backend. Compatible with Icinga 1.x
|
Icinga 2 IDO mysql database backend. Compatible with Icinga 1.x
|
||||||
IDOUtils schema >= 1.10
|
IDOUtils schema >= 1.10
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue