SPECS: cpudyn.spec - defined _sbindir to /sbin
darekr
darekr at pld-linux.org
Thu Aug 25 22:54:22 CEST 2005
Author: darekr Date: Thu Aug 25 20:54:22 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- defined _sbindir to /sbin
---- Files affected:
SPECS:
cpudyn.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/cpudyn.spec
diff -u SPECS/cpudyn.spec:1.7 SPECS/cpudyn.spec:1.8
--- SPECS/cpudyn.spec:1.7 Sun May 15 14:28:23 2005
+++ SPECS/cpudyn.spec Thu Aug 25 22:54:17 2005
@@ -11,10 +11,12 @@
Source1: %{name}.init
Source2: %{name}.conf
URL: http://mnm.uib.es/~gallir/cpudyn/
-PreReq: rc-scripts
+Requires: rc-scripts
Requires(post,preun): /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
This program control the speed in Intel SpeedStep, Pentium 4 Mobile
and PowerPC machines with the cpufreq compiled in the kernel.
@@ -45,12 +47,12 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/sbin,%{_sysconfdir},/etc/rc.d/init.d/,%{_mandir}/man8}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},/etc/rc.d/init.d/,%{_mandir}/man8}
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/cpudynd
install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cpudyn.conf
-install cpudynd $RPM_BUILD_ROOT/sbin
-install cpudynd.8 $RPM_BUILD_ROOT%{_mandir}/man8/
+install cpudynd $RPM_BUILD_ROOT%{_sbindir}
+install cpudynd.8 $RPM_BUILD_ROOT%{_mandir}/man8
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,8 +60,8 @@
%files
%defattr(644,root,root,755)
%doc README faq.html
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cpudyn.conf
-%attr(755,root,root) /sbin/cpudynd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cpudyn.conf
+%attr(755,root,root) %{_sbindir}/cpudynd
%attr(754,root,root) /etc/rc.d/init.d/cpudynd
%{_mandir}/man8/*
@@ -69,6 +71,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/08/25 20:54:17 darekr
+- defined _sbindir to /sbin
+
Revision 1.7 2005/05/15 12:28:23 aflinta
- up to version 1.0.1, it doesn't require cpufreqd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cpudyn.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list