You can use rpmrebuild (http://rpmrebuild.sf.net) for repackaging.
Valery.
>________________________________
> From: Sergio Belkin <[email protected]>
>To: General discussion about the RPM package manager <[email protected]>
>Sent: Tuesday, February 12, 2013 10:26 PM
>Subject: Re: RPM Rollback - which hooks are activated
>
>
>
>
>2013/2/9 Thierry Vignaud <[email protected]>
>
>On 6 February 2013 11:52, Adi Levy <[email protected]> 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?
>>
>>Sorry but support for repackage and rollback have been removed in rpm-4.6.0
>>four years ago...
>>_______________________________________________
>>Rpm-list mailing list
>>[email protected]
>>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#Removedfeatures
>
>
>Take 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
>[email protected]
>http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
>
_______________________________________________
Rpm-list mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-list