From 36a4a30149a89ac767347cdcc65db0a315d82f2e Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 18 Nov 2013 09:56:59 +0100 Subject: [PATCH] Fix MySQL package name for SLES 11. Fixes #5095 --- icinga2.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/icinga2.spec b/icinga2.spec index 22c120c80..14e113e72 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -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 -- 2.40.0