From: Gunnar Beutner Date: Mon, 18 Nov 2013 08:56:59 +0000 (+0100) Subject: Fix MySQL package name for SLES 11. X-Git-Tag: v0.0.5~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36a4a30149a89ac767347cdcc65db0a315d82f2e;p=icinga2 Fix MySQL package name for SLES 11. Fixes #5095 --- 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