SPECS: nagios-pnp.spec - config and perms

glen glen at pld-linux.org
Tue Jan 13 12:32:23 CET 2009


Author: glen                         Date: Tue Jan 13 11:32:23 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- config and perms

---- Files affected:
SPECS:
   nagios-pnp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/nagios-pnp.spec
diff -u SPECS/nagios-pnp.spec:1.1 SPECS/nagios-pnp.spec:1.2
--- SPECS/nagios-pnp.spec:1.1	Tue Nov 25 15:48:18 2008
+++ SPECS/nagios-pnp.spec	Tue Jan 13 12:32:17 2009
@@ -1,7 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# warning: Installed (but unpackaged) file(s) found:
-#   /usr/lib/pnp/check_pnp_rrds.pl
 Summary:	Nagios performance data analysis tool
 Name:		nagios-pnp
 Version:	0.4.12
@@ -34,7 +31,7 @@
 %build
 %configure \
 	--bindir=%{_sbindir} \
-	--libexecdir=%{_libexecdir}/pnp \
+	--libexecdir=%{_libdir}/pnp \
 	--sysconfdir=%{_sysconfdir}/pnp \
 	--localstatedir=%{_localstatedir}/log/pnp \
 	--datadir=%{_datadir}/nagios/html/pnp \
@@ -47,6 +44,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
+	STRIP=: \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install-config \
@@ -84,11 +82,13 @@
 %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README
 %doc README.npcd THANKS TODO
 %dir %{_sysconfdir}/pnp
-%config(noreplace) %{_sysconfdir}/pnp/*
-%config(noreplace) /etc/logrotate.d/pnp
-%attr(755,root,root) %{_initrddir}/npcd
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pnp/*
+%attr(754,root,root) /etc/rc.d/init.d/npcd
+%config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/pnp
 %attr(755,root,root) %{_sbindir}/npcd
-%attr(755,root,root) %{_libexecdir}/pnp/process_perfdata.pl
+%dir %{_libdir}/pnp
+%attr(755,root,root) %{_libdir}/pnp/check_pnp_rrds.pl
+%attr(755,root,root) %{_libdir}/pnp/process_perfdata.pl
 %attr(755,nagios,nagios) %{_localstatedir}/lib/pnp
 %attr(755,nagios,nagios) %{_localstatedir}/log/pnp
 %attr(755,nagios,nagios) %{_localstatedir}/spool/pnp
@@ -100,5 +100,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/01/13 11:32:17  glen
+- config and perms
+
 Revision 1.1  2008/11/25 14:48:18  glen
 - new, based on fedora devel spec
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-pnp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list