Re: util-linux missing from build root

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

 



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. 

-- 
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