You can use rpmrebuild (http://rpmrebuild.sf.net) for repackaging.
Valery.
From: Sergio Belkin <sebelk@xxxxxxxxx>
To: General discussion about the RPM package manager <rpm-list@xxxxxxxxxxxxx>
Sent: Tuesday, February 12, 2013 10:26 PM
Subject: Re: RPM Rollback - which hooks are activated
2013/2/9 Thierry Vignaud <thierry.vignaud@xxxxxxxxx>Sorry but support for repackage and rollback have been removed in rpm-4.6.0On 6 February 2013 11:52, Adi Levy <alevy@xxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> I'm writing upgrade/rollback mechanism for our software.
> I read several articles about what's being run during upgrade, and how to
> repackage the old rpm.
>
> What happens during - -rollback of the package I have just installed?
>
> Does the %pre %post of the old package activated?
> Does %preun %postun of new current package run?
> What happens if I use the auto rollback feature upon error? Is it safe to
> use?
four years ago...
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list
"Support for repackage and rollback have been removed as they're seen too unreliable to be generally useful. "
http://www.rpm.org/wiki/Releases/4.6.0#RemovedfeaturesTake a look also at http://lists.rpm.org/pipermail/rpm-maint/2008-February/001906.html
Greetings--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list