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

Re: New package: meanwhile



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


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