From efe5f02fbdc1ead6d223f0d509ee9c4e496c18e0 Mon Sep 17 00:00:00 2001 From: saq Date: Wed, 25 Jul 2001 22:51:56 +0000 Subject: [PATCH] - replace non-existent %chkconfig_{post,preun} macros with %chkconfig_{add,del} (thanks qboosh) Changed files: apcupsd.spec -> 1.19 --- apcupsd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apcupsd.spec b/apcupsd.spec index 3fd0bba..f3dbbd8 100644 --- a/apcupsd.spec +++ b/apcupsd.spec @@ -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) -- 2.43.0