Provide Rollback Capability for RPMs
From Notes
An enterprise level package management system *must* provide an easy mechanism for reverting packages once updated.
The purpose of this article is to provide a process by which updated packages can be rolled back to previous versions easily using RPM.
Rollback Capability
To enable repackaging of erased RPMs, set the following value in /etc/rpm/macros:
#/etc/rpm/macros %_repackage_all_erasures 1
If using yum, make sure to set the following value to force yum to repackage RPMs it erases in /etc/yum.conf:
#/etc/yum.conf tsflags=repackage
