Changes of Revision 10
[-] | Changed | nrpe.spec |
x 1
2 3 # install templated configuration files 4 cp sample-config/nrpe.cfg ${RPM_BUILD_ROOT}/etc/nagios/nrpe.cfg 5 +%if 0%{?suse_version} 6 +cp init-script.suse ${RPM_BUILD_ROOT}/etc/init.d/nrpe 7 +%else 8 cp init-script ${RPM_BUILD_ROOT}/etc/init.d/nrpe 9 +%endif 10 cp src/nrpe ${RPM_BUILD_ROOT}/usr/sbin 11 cp src/check_nrpe ${RPM_BUILD_ROOT}/usr/lib/nagios/plugins 12 install -m 644 sample-config/nrpe.xinetd ${RPM_BUILD_ROOT}/etc/xinetd.d/nrpe 13
14 %files plugin 15 %defattr(755,root,root) 16 %{_prefix}/lib/nagios/plugins 17 -%defattr(755,%{nsusr},%{nsgrp}) 18 +%defattr(644,%{nsusr},%{nsgrp}) 19 %doc Changelog LEGAL README 20 21 %changelog 22 |
||
[+] | Changed | nrpe-rpmlintrc ^ |
@@ -2,3 +2,5 @@ addFilter("nrpe.* postun-without-%insserv_cleanup") addFilter("nrpe.* preun-without-%stop_on_removal-preun") addFilter("nrpe.* script-without-shebang") +addFilter("nagios-nrpe.* unstripped-binary-or-object") +addFilter("nagios-nrpe-plugin.* unstripped-binary-or-object") |