On Fri, Oct 10, 2008 at 7:57 PM, Patrice Dumas
<pertusus(a)free.fr> wrote:
> On Fri, Oct 10, 2008 at 07:33:45PM -0400, Michel Salim wrote:
>> On Fri, Oct 10, 2008 at 1:12 PM, Ville Skyttä <ville.skytta(a)iki.fi> wrote:
>>
>> Unfortunately RHEL's emacs / emacs-nox do not seem to provide
>> emacs(bin), so in that case, since RPM does not allow for either-or
>> dependencies, what would the best solution be?
>>
>> 1. Requires: emacs and disenfranchise emacs-nox users
>> 2. Requires: /usr/bin/emacs and draw the ire of yum users having to
>> download filelists.
> /usr/bin/ is always downloaded.
>
Ah, so one gets that for free? (the guideline should really mention
that). I'll wait for an official word on the bug report,
https://bugzilla.redhat.com/show_bug.cgi?id=466580
The Guideline does mention that:
"""
- SHOULD: If the package has file dependencies outside of /etc, /bin,
/sbin, /usr/bin, or /usr/sbin consider requiring the package which
provides the file instead of the file itself.
"""
The full Guideline[1]_ (linked from the above) repeats that information
and also tells why those directories are okay.
.. _[1]: