- need rebuilt rpm (with new macros.pld) to build these
Changed files:
cyrus-sasl.spec -> 1.43
%postun -p /sbin/ldconfig
%post saslauthd
%postun -p /sbin/ldconfig
%post saslauthd
-/sbin/chkconfig --add saslauthd
-if [ -f /var/lock/subsys/saslauthd ]; then
- /etc/rc.d/init.d/saslauthd restart 1>&2
-else
- echo "Run \"/etc/rc.d/init.d/saslauthd start\" to start saslauthd."
-fi
-
-%postun saslauthd
-if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/saslauthd ]; then
- /etc/rc.d/init.d/saslauthd stop 1>&2
- fi
- /sbin/chkconfig --del saslauthd
-fi
+NAME=saslauthd; %chkconfig_add
+
+%preun saslauthd
+NAME=saslauthd; %chkconfig_del
%files
%defattr(644,root,root,755)
%files
%defattr(644,root,root,755)