Le Jeu 30 août 2007 11:50, Michael Schwendt a écrit : > 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. Which was exactly the point. When a script/Makefile requires a particular command, and this command has multiple implementation or is provided by a package which naming stability is dubious, BR/R-ing the filename and not the package name is the right thing. If package naming and package repartition was stable or reliable we'd be requiring perl package names instead of the stuff inside. When you know the exact R/BR your package needs it's totaly insane to go through the package name indirection. -- Nicolas Mailhot -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list