From 00fe3dc4f0f6f32cea548e33a4ba0cec4f4ecfcb Mon Sep 17 00:00:00 2001 From: saq Date: Wed, 25 Jul 2001 16:30:44 +0000 Subject: [PATCH] - use macros in %{pre,post}{,un} - need rebuilt rpm (with new macros.pld) to build these Changed files: ffingerd.spec -> 1.35 --- ffingerd.spec | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ffingerd.spec b/ffingerd.spec index bc7ae31..ab11f96 100644 --- a/ffingerd.spec +++ b/ffingerd.spec @@ -64,16 +64,10 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd gzip -9nf README NEWS TODO %post -if [ -f /var/lock/subsys/rc-inetd ]; then - /etc/rc.d/init.d/rc-inetd reload 1>&2 -else - echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2 -fi +%rc_inetd_post %postun -if [ -f /var/lock/subsys/rc-inetd ]; then - /etc/rc.d/init.d/rc-inetd reload -fi +%rc_inetd_postun %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0