Created attachment 328238 [details] Don't let scriptlets fail The %post and %preun scripts of perl-XML-SAX can exit with non-zero exit status and thus wreak havoc in rpm transactions. Fix attached. I'm undecided whether 2>/dev/null would be welcome (obviously before the "|| :") in both scriptlets, but I suppose I'd be slightly in favor of dropping it because the failure would indicate a quite exceptional case; your call.
I'd rather leave there /dev/null and also || : One of my packages was failing on upgrade without /dev/null.