From aabcac3a663041a60d08a2fd98d1ef0258ff58bb Mon Sep 17 00:00:00 2001 From: Eric Schoeller Date: Tue, 22 Oct 2024 12:15:40 -0600 Subject: [PATCH] trying to add make install-init for NPCD --- pnp4nagios.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pnp4nagios.spec b/pnp4nagios.spec index 29ba743..77ea63a 100644 --- a/pnp4nagios.spec +++ b/pnp4nagios.spec @@ -117,6 +117,8 @@ if [ "$RPM_BUILD_ROOT" != "/" ]; then rm -rf $RPM_BUILD_ROOT fi %{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL_OPTS="" HTTP_INSTALL_OPTS="" MIX_OPTS="" INIT_OPTS="" NOSAMPLES=1 +# for NPCD +%{__make} install-init DESTDIR=$RPM_BUILD_ROOT INSTALL_OPTS="" HTTP_INSTALL_OPTS="" MIX_OPTS="" INIT_OPTS="" NOSAMPLES=1 # NO...do NOT remove -sample from filename suffix #for i in $RPM_BUILD_ROOT/%{_sysconfdir}/pnp4nagios/*-sample \