Description of problem: Package does not check the installation status when upgrading. Version-Release number of selected component (if applicable): How reproducible: Update to a newer version Steps to Reproduce: 1. rpm -vhU heartbeat Additional info: The spec file should check if it is an update or if it is an deinstallation. When updating, "chkconfig --del" is executed unconditionally which breaks existing systems. Proposed Fix: ----------------------- %preun if [ $1 = 0 ] ; then service hearbeat stop /sbin/chkconfig --del hearbeat fi %postun if [ "$1" -ge "1" ] ; then service heartbeat condrestart fi -----------------------
uups, small typo in the proposed script (hearbeat)
fixed in 2.0.7-3