[Rpm-maint] semantics of %posttrans?

Panu Matilainen pmatilai at redhat.com
Wed Jun 27 08:15:34 UTC 2007


On Wed, 27 Jun 2007, Panu Matilainen wrote:

> On Tue, 26 Jun 2007, Paul Nasrat wrote:
>
>> On Tue, 2007-06-26 at 15:41 -0400, Bill Nottingham wrote:
>>> If I'm reading right, %posttrans/%pretrans is only run if it's part of
>>> a package being added/updated, not a package being removed.
>
> Yup. For the background why that's the case see
> https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-January/000706.html
>
> Maybe I'm missing something here but I don't quite see how callback 
> modification is required for implementing it for removed items.

Oh and just FWIW, I do think the callback api should be rethought and 
fixed finally, regardless of it's relevance (or lack of thereof) to 
pre/posttrans.

 	- Panu -



More information about the Rpm-maint mailing list