[packages/nagios-plugin-check_scan] package subdirs
glen
glen at pld-linux.org
Mon Jun 8 14:25:01 CEST 2015
commit 2df0d49fc737403918490f0c40679b4830634124
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jun 8 15:24:55 2015 +0300
package subdirs
nagios-plugin-check_scan.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/nagios-plugin-check_scan.spec b/nagios-plugin-check_scan.spec
index 59e472c..7ed7446 100644
--- a/nagios-plugin-check_scan.spec
+++ b/nagios-plugin-check_scan.spec
@@ -42,7 +42,7 @@ cp -p %{SOURCE0} %{plugin}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir},%{statedir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir},%{statedir}/{files,scans}}
install -p %{plugin} $RPM_BUILD_ROOT%{plugindir}/%{plugin}
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
@@ -53,4 +53,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
%attr(755,root,root) %{plugindir}/%{plugin}
-%dir %attr(770,root,nagios) %{statedir}
+%dir %attr(750,root,nagios) %{statedir}
+%dir %attr(770,root,nagios) %{statedir}/files
+%dir %attr(770,root,nagios) %{statedir}/scans
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_scan.git/commitdiff/2df0d49fc737403918490f0c40679b4830634124
More information about the pld-cvs-commit
mailing list