util-linux missing from build root

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Thu Aug 30 09:50:24 UTC 2007


On Thu, 30 Aug 2007 11:41:11 +0200 (CEST), Nicolas Mailhot wrote:

> 
> Le Jeu 30 août 2007 11:34, Michael Schwendt a écrit :
> 
> >  From the perspective of Joe Packager, if you need a program/file, you
> > hunt it down, "rpm -qf" or "repoquery --whatprovides" it, and add the
> > found package name as a BR.
> 
> Or you do which foo and add this BR (a lot simpler, faster and more
> reliable)

No, "rpm -qf $(which foo)" to be precise, since it returns only a path
and not a package name. And $(which foo) has been mentioned in the
mail you replied to.
 
> > Yes, you could be pedantic and add the
> > full path of the needed file instead, but that would break if a
> > program were moved around in $PATH.
> 
> This is a very unusual event (much more than package shuffling)
> because the FHS nailed this a long time ago

The FHS does not cover every file a packager might want to BR. 




More information about the fedora-devel-list mailing list