In: http://fedoraproject.org/wiki/Packaging:SysVInitScript there is scriplet: %preun if [ $1 = 0 ] ; then this should be: %preun if [ $1 -eq 0 ] ; then as we are comparing integers and not strings.
Fixed, thanks!