SPECS: cpuspeed.spec - perms for init script

darekr darekr at pld-linux.org
Sun Jul 3 22:12:31 CEST 2005


Author: darekr                       Date: Sun Jul  3 20:12:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- perms for init script

---- Files affected:
SPECS:
   cpuspeed.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/cpuspeed.spec
diff -u SPECS/cpuspeed.spec:1.3 SPECS/cpuspeed.spec:1.4
--- SPECS/cpuspeed.spec:1.3	Sun Jul  3 21:26:01 2005
+++ SPECS/cpuspeed.spec	Sun Jul  3 22:12:25 2005
@@ -33,10 +33,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_sbindir}}
 
-install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
-install -d $RPM_BUILD_ROOT/%{_sbindir}
-install cpuspeed $RPM_BUILD_ROOT/%{_sbindir}
+install cpuspeed $RPM_BUILD_ROOT%{_sbindir}
 install cpuspeed.conf $RPM_BUILD_ROOT/etc/sysconfig/cpuspeed
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/cpuspeed
 
@@ -64,7 +63,7 @@
 %doc CHANGES EXAMPLES FEATURES README TODO USAGE
 %attr(755,root,root) %{_sbindir}/*
 %attr(754,root,root) /etc/sysconfig/*
-/etc/rc.d/init.d/*
+%attr(754,root,root) /etc/rc.d/init.d/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -72,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/07/03 20:12:25  darekr
+- perms for init script
+
 Revision 1.3  2005/07/03 19:26:01  speedy
 - proper %%attr
 
================================================================

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




More information about the pld-cvs-commit mailing list