On Tue, 27 Oct 2009 12:37:28 +0100, Fabio wrote:
I also considered a specific file Requires: /usr/bin/virsh, but policy suggests to avoid that for different reasons.
Really? What policy is that? Programs in bin paths are covered by the primary metadata. Such a dependency would be more accurate.
https://fedoraproject.org/wiki/Packaging/Guidelines#File_Dependencies
I understand that files in bin paths are already covered by primary data, but the way it is formulated there, it sounds (to me) that there is still extra processing involved from the different depsolver.
You've misread that section. Most of it comments on file dependencies _outside_ (!) /etc and bin paths. Those are the ones you ought to avoid, as the depsolvers would need to download and parse additional metadata archives.