Fix MySQL package name for SLES 11.

Fixes #5095
This commit is contained in:
Gunnar Beutner 2013-11-18 09:56:59 +01:00
parent d88268bd77
commit 36a4a30149
1 changed files with 4 additions and 0 deletions

View File

@ -147,7 +147,11 @@ Summary: IDO MySQL database backend for Icinga 2
Group: Applications/System
%if "%{_vendor}" == "suse"
BuildRequires: libmysqlclient-devel
%if 0%{?suse_version} >= 1210
Requires: libmysqlclient18
%else
Requires: libmysqlclient15
%endif
%endif
%if "%{_vendor}" == "redhat"
# el5 only provides mysql package