]> git.pld-linux.org Git - packages/cpudyn.git/commitdiff
- defined _sbindir to /sbin
authordarekr <darekr@pld-linux.org>
Thu, 25 Aug 2005 20:54:17 +0000 (20:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpudyn.spec -> 1.8

cpudyn.spec

index 9ad1ed1247545b09d6195427fbffeb8a581528dd..53147f089d72640ad6b4c2fecf4d78f8c7699160 100644 (file)
@@ -10,10 +10,12 @@ Source0:    http://mnm.uib.es/~gallir/cpudyn/download/%{name}-%{version}.tgz
 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.
@@ -44,12 +46,12 @@ cpufreq.
 
 %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
@@ -57,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 0.055958 seconds and 4 git commands to generate.