summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2015-08-05 21:35:35 (GMT)
committerElan Ruusamäe2015-08-05 21:35:35 (GMT)
commit3e94d09ef410eaeccc919430b8335faffa4bd41a (patch)
tree427343becb0549dcad8469ee8abc2140ed466593
parente4f8a19bf6dae01dbaed1f3459060743dd82a6ec (diff)
downloadmk-livestatus-3e94d09ef410eaeccc919430b8335faffa4bd41a.zip
mk-livestatus-3e94d09ef410eaeccc919430b8335faffa4bd41a.tar.gz
build for nagios 4.x
-rw-r--r--mk-livestatus.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk-livestatus.spec b/mk-livestatus.spec
index 4eb6369..7c22510 100644
--- a/mk-livestatus.spec
+++ b/mk-livestatus.spec
@@ -8,6 +8,7 @@ Group: Applications
Source0: https://mathias-kettner.de/download/%{name}-%{version}.tar.gz
# Source0-md5: a01b3cc372f5dbe672eee29afeb94dd5
URL: http://mathias-kettner.de/checkmk_livestatus.html
+Requires: nagios >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/nagios
@@ -29,7 +30,8 @@ able retrieve historic data from the Nagios log files via Livestatus.
%setup -q
%build
-%configure
+%configure \
+ --with-nagios4
%{__make}
%install