From 96e23aa1c7c2ba51ec330a7ede4491aae5cf8706 Mon Sep 17 00:00:00 2001 From: Tim Hardeck Date: Thu, 14 Aug 2014 16:48:49 +0200 Subject: [PATCH] Enforce /usr/lib as base for the cgi path on SUSE distributions The cgi path on SUSE distributions is always located under /usr/lib/icinga/cgi, even on x86_64 systems. So the path in the icinga-classic-apache.conf needs to be adapted on those distributions. fixes #6917 --- icinga2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/icinga2.spec b/icinga2.spec index 77fad0522..d88134eb1 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -216,6 +216,7 @@ CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=/usr/lib/boost141 \ CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_PLUGINDIR=%{_libdir}/nagios/plugins" %else CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_PLUGINDIR=%{_prefix}/lib/nagios/plugins" +sed -i "s|@CMAKE_INSTALL_FULL_LIBDIR@|/usr/lib|" etc/icinga/icinga-classic-apache.conf.cmake %endif %if 0%{?use_systemd} -- 2.40.0