[Rpm-maint] semantics of %posttrans?

Paul Nasrat pnasrat at redhat.com
Tue Jun 26 20:50:10 UTC 2007


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.
> 
> 1) Is this the semantics we want?

No - a transaction set should be a set of operations.

> 2) If so, does it imply the need for a (ugh) %postuntrans?

Makes no sense, unless in the context of a "rollback" (an untrans, by
some definition...)

Paul




More information about the Rpm-maint mailing list