RPM roadmapping

Gilboa Davara gilboad at gmail.com
Sun Jul 29 15:48:31 UTC 2007

On Sat, 2007-07-28 at 22:04 +0300, Panu Matilainen wrote:
> On Fri, 27 Jul 2007, Bill Nottingham wrote:
> > Bill Nottingham (notting at redhat.com) said:
> >>> %posttrans works now afaik.  Is there something you want that isn't there
> >>> now?
> >>
> >> Ideally, merging of identical %posttrans.
> >
> > ... and, running on uninstall as well.
> Rather than trying to figure identical %posttrans between packages, I'd 
> like to see a mechanism to allow packages flagging things like "after 
> install/removal I need a) ldconfig run b) icon cache updated" and 
> have them run centrally after everything else has completed (lets call it 
> "%sysposttrans" that gets run after any non-empty transaction has fully
> completed). Basically what was discussed in this thread:
> https://www.redhat.com/archives/fedora-maintainers/2007-July/msg00061.html
> I remember when some years ago something like
> [ -x /usr/bin/update-foo ] && /usr/bin/update-foo
> was copy-pasted into dozens of packages, only there was a typo that caused 
> every such scriptlet breaking and needed another mass rebuild to fix. If 
> it had been just a flag to do "update-foo" then the actual update-foo 
> script could've been fixed just once instead of having to copy-paste it 
> into every bleeping package and ran several times during a transaction. 
> Obviously packages have their special needs and not everything can be 
> generalized, but there are plenty enough things where this would be 
> applicaple.
>  	- Panu -


icon cache, ldconfig, depmod, etc are common things.
No need to copy-paste the same code over and over and over.... and over

- Gilboa

More information about the fedora-devel-list mailing list