Re: RPM roadmapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-07-28 at 22:04 +0300, Panu Matilainen wrote:
> On Fri, 27 Jul 2007, Bill Nottingham wrote:
> 
> > Bill Nottingham (notting@xxxxxxxxxx) 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 -
> 

/+1.

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

- Gilboa

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux