]> git.pld-linux.org Git - packages/apmud.git/commitdiff
- R() for chkconfig, config() for sysconfig AC-branch AC-STABLE auto/ac/apmud-1_0_0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 7 Oct 2004 12:29:55 +0000 (12:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apmud.spec -> 1.2

apmud.spec

index a5b605d98fc196c4d4a8682097a413faa51151c9..183b69eba0544da468eaf274572ab4937270088f 100644 (file)
@@ -10,13 +10,13 @@ Source0:    http://linuxppc.jvc.nl/%{name}-%{version}.tgz
 Source1:       %{name}.init
 Patch0:                %{name}-pwrctl.patch
 URL:           http://linuxppc.jvc.nl/
-Requires:      chkconfig
+Requires(post,preun):  /sbin/chkconfig
 Requires:      dev
 Requires:      hdparm
 Provides:      apmd
+Obsoletes:     apmd
 ExclusiveArch: ppc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     apmd
 
 %description
 pmud is a daemon which periodically polls the PMU (power manager) and
@@ -79,7 +79,7 @@ fi
 %doc BUGS CHANGES INSTALL README THANKS TODO pwrctl-local
 %attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_bindir}/*
-%attr(644,root,root) /etc/sysconfig/power
+%config(noreplace) %verify(not size mtime md5) /etc/sysconfig/power
 %attr(754,root,root) /etc/rc.d/init.d/pmud
 %attr(640,root,root) %{_sysconfdir}/power/pwrctl
 %{_mandir}/man8/*
This page took 0.571336 seconds and 4 git commands to generate.