New package: meanwhile
Miloslav Trmac
mitr at volny.cz
Tue May 24 17:54:29 UTC 2005
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.
Mirek
More information about the fedora-extras-list
mailing list