SPECS: munin.spec - move cron scrit to sbin (no point filling user...

glen glen at pld-linux.org
Wed Oct 5 21:07:55 CEST 2005


Author: glen                         Date: Wed Oct  5 19:07:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move cron scrit to sbin (no point filling user PATH with it)

---- Files affected:
SPECS:
   munin.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/munin.spec
diff -u SPECS/munin.spec:1.4 SPECS/munin.spec:1.5
--- SPECS/munin.spec:1.4	Wed Oct  5 20:24:33 2005
+++ SPECS/munin.spec	Wed Oct  5 21:07:50 2005
@@ -67,7 +67,7 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/munin-node
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/munin
 
-cp node/node.d/README README.plugins
+install node/node.d/README README.plugins
 
 install dists/tarball/plugins.conf $RPM_BUILD_ROOT%{_sysconfdir}/munin/
 install dists/tarball/plugins.conf $RPM_BUILD_ROOT%{_sysconfdir}/munin/plugin-conf.d/munin-node
@@ -79,6 +79,9 @@
 install server/munin-htaccess $RPM_BUILD_ROOT/var/www/html/munin/.htaccess
 install server/style.css $RPM_BUILD_ROOT/var/www/html/munin
 
+install -d $RPM_BUILD_ROOT%{_sbindir}
+mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}/munin-cron
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -124,7 +127,7 @@
 %defattr(644,root,root,755)
 %doc README.api README.plugins ChangeLog
 # %{_docdir}/munin/README.config
-%attr(755,root,root) %{_bindir}/munin-cron
+%attr(755,root,root) %{_sbindir}/munin-cron
 %{_datadir}/munin/munin-graph
 %{_datadir}/munin/munin-html
 %{_datadir}/munin/munin-limits
@@ -189,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/10/05 19:07:50  glen
+- move cron scrit to sbin (no point filling user PATH with it)
+
 Revision 1.4  2005/10/05 18:24:33  baggins
 - cleaning up, NFY
 
@@ -200,4 +206,3 @@
 
 Revision 1.1  2005/10/05 17:14:52  baggins
 - initial revision
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/munin.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list