- replace non-existent %chkconfig_{post,preun} macros with
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 22:51:56 +0000 (22:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
%chkconfig_{add,del} (thanks qboosh)

Changed files:
    apcupsd.spec -> 1.19

apcupsd.spec

index 3fd0bba..f3dbbd8 100644 (file)
@@ -55,7 +55,7 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %post
 /sbin/ldconfig
-%chkconfig_post
+%chkconfig_add
 
 #if !(grep /sbin/powersc /etc/rc.d/init.d/halt > /dev/null); then
 cp -f /etc/rc.d/init.d/halt /etc/rc.d/init.d/halt.rpmorig
@@ -78,7 +78,7 @@ fi\
 
 
 %preun
-%chkconfig_preun
+%chkconfig_del
 
 %files
 %defattr(644,root,root,755)
This page took 0.030023 seconds and 4 git commands to generate.