New package: meanwhile

Tom 'spot' Callaway tcallawa at redhat.com
Tue May 24 18:02:21 UTC 2005


On Tue, 2005-05-24 at 19:54 +0200, Miloslav Trmac wrote:
> On Tue, May 24, 2005 at 09:42:16AM -0500, Tom 'spot' Callaway wrote:
> > > * %post/%postun scriptlets miss dependency on /sbin/ldconfig,
> > >    change them to -p /sbin/ldconfig (as in patch below) to get
> > >    an automatic dependency
> > 
> > /sbin/ldconfig is in glibc. How exactly will a running system not have
> > glibc? Simply by compiling this, it will pull in glibc as a Requires.
> > There isn't any need to -p /sbin/ldconfig to achieve the same thing.
> There is a different reason why %post -p /sbin/ldconfig is a good idea:
> rpm recognizes this usage and it can optimize some of the ldconfig
> runs away if you are installing multiple packages.

OK, now thats a better reason. :)

~spot
-- 
Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!




More information about the fedora-extras-list mailing list