[icinga-checkins] icinga.org: icinga-core/master: add install-api to make call

git at icinga.org git at icinga.org
Mon Sep 20 09:53:37 CEST 2010


Module: icinga-core
Branch: master
Commit: 3fec214b70104764c4d64cd0c7a6749619b2c696
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=3fec214b70104764c4d64cd0c7a6749619b2c696

Author: Christoph Maser <cmr at financial.com>
Date:   Sat Jul 24 23:59:40 2010 +0200

add install-api to make call
remove redhat specific init script

---

 icinga.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/icinga.spec b/icinga.spec
index d9bca9f..c41dad0 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -78,11 +78,6 @@ PHP api for %{name}
 %prep
 %setup -n %{name}-%{version}
 
-# If we buld for redhat use the redhat init-script
-%if "%{_vendor}" == "redhat"
-%{__cp} -f daemon-init-redhat.in daemon-init.in
-%endif
-
 # /usr/local/nagios is hardcoded in many places
 %{__perl} -pi.orig -e 's|/usr/local/nagios/var/rw|%{_localstatedir}/nagios/rw|g;' contrib/eventhandlers/submit_check_result
 
@@ -118,8 +113,13 @@ PHP api for %{name}
 %install
 %{__rm} -rf %{buildroot}
 %{__mkdir} -p %{buildroot}/%{apacheconfdir}
-%{__make} install-unstripped install-init install-commandmode install-config \
-    install-webconf install-idoutils \
+%{__make} install-unstripped \
+    install-init \
+    install-commandmode \
+    install-config \
+    install-webconf \
+    install-idoutils \
+    install-api \
     DESTDIR="%{buildroot}" \
     INSTALL_OPTS="" \
     COMMAND_OPTS="" \





More information about the icinga-checkins mailing list