Logoj0ke.net Open Build Service > Projects > home:netmax > nrpe > Changes
Sign Up | Log In

Changes of Revision 21

[-] Changed nrpe.spec
x
 
1
@@ -168,6 +168,7 @@
2
 cp sample-config/nrpe.cfg ${RPM_BUILD_ROOT}/etc/nagios/nrpe.cfg
3
 %if 0%{?suse_version}
4
 cp init-script.suse ${RPM_BUILD_ROOT}/etc/init.d/nrpe
5
+chmod +x ${RPM_BUILD_ROOT}/etc/init.d/nrpe
6
 %else
7
 cp init-script ${RPM_BUILD_ROOT}/etc/init.d/nrpe
8
 %endif
9
@@ -180,21 +181,21 @@
10
 
11
 
12
 %files
13
-%defattr(755,root,root)
14
+%defattr(0755,root,root)
15
 /etc/init.d/nrpe
16
 %config(noreplace)/etc/xinetd.d/nrpe
17
 %{_prefix}/sbin/nrpe
18
 %dir /etc/nagios
19
 %dir /etc/nagios/nrpe.d/
20
-%defattr(644,root,root)
21
+%defattr(0644,root,root)
22
 %config(noreplace) /etc/nagios/*.cfg
23
-%defattr(644,%{nsusr},%{nsgrp})
24
+%defattr(0644,%{nsusr},%{nsgrp})
25
 %doc Changelog LEGAL README 
26
 
27
 %files plugin
28
-%defattr(755,root,root)
29
+%defattr(0755,root,root)
30
 %{_prefix}/lib/nagios/plugins
31
-%defattr(644,%{nsusr},%{nsgrp})
32
+%defattr(0644,%{nsusr},%{nsgrp})
33
 %doc Changelog LEGAL README
34
 
35
 %changelog
36