diff --git a/ChangeLog b/ChangeLog index 51615b0f..15e0d74a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,7 +5,7 @@ * HISTORY, META, NEWS, TODO: Updated for 0.4.1 release. * munge.spec: - Added %pre to remove chkconfig droppings from the "-1 priority" bug. + Added %post to remove chkconfig droppings from the "-1 priority" bug. * src/etc/munge.init: Fixed bug preventing priorities from being recognized by chkconfig. diff --git a/munge.spec b/munge.spec index 5ad2d0d8..db460383 100644 --- a/munge.spec +++ b/munge.spec @@ -1,4 +1,4 @@ -# $Id: munge.spec,v 1.27 2004/12/22 01:25:37 dun Exp $ +# $Id: munge.spec,v 1.28 2004/12/22 01:52:23 dun Exp $ Name: munge Version: 0 @@ -35,18 +35,14 @@ DESTDIR="$RPM_BUILD_ROOT" make install %clean rm -rf "$RPM_BUILD_ROOT" -%pre -# +%post +/sbin/ldconfig %{_libdir} # Remove chkconfig droppings from the "-1 priority" bug. -# if [ -L /etc/rc.d/rc0.d/K-1munge ]; then find /etc/rc.d/rc?.d/ -type l -name "[SK]-1munge" -exec rm -f {} \; /sbin/chkconfig --del munge /sbin/chkconfig --add munge fi - -%post -/sbin/ldconfig %{_libdir} if [ $1 = 1 ]; then /sbin/chkconfig --add munge fi