[Fedora-packaging] Re: Packaging emacs modes: EL/F compatibility

Toshio Kuratomi a.badger at gmail.com
Sat Oct 11 05:41:26 UTC 2008

Michel Salim wrote:
> On Fri, Oct 10, 2008 at 7:57 PM, Patrice Dumas <pertusus at 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 at 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]: https://fedoraproject.org/wiki/Packaging/Guidelines#FileDeps


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20081010/153af1cb/attachment.sig>

More information about the Fedora-packaging mailing list