Bug 239374 - RFE: add virtual Provides: emacs(bin) to emacs and emacs-nox packages
RFE: add virtual Provides: emacs(bin) to emacs and emacs-nox packages
Product: Fedora
Classification: Fedora
Component: emacs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chip Coldwell
Depends On:
  Show dependency treegraph
Reported: 2007-05-07 18:21 EDT by Jonathan Underwood
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version: 22.1-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-25 20:27:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Underwood 2007-05-07 18:21:21 EDT
Description of problem:
XEmacs packages xemacs and xemacs-nox both have a Provides: xemacs(bin) so that
when packaging an add-on package which does not care about Xorg support you can
simply have a Requires: xemacs(bin).

No such facility currently exists for emacs and emacs-nox. An approximation to
this is to have Requires: emacs-common in add-on packages, since emacs and
emacs-nox both Require:emacs-common. But, then you could install your add-on
package, have it pull in emacs-common, but that wouldn't pull in emacs or
emacs-nox. User scratches head.
Comment 1 Ville Skyttä 2007-05-07 18:52:06 EDT
RFE seconded.

But I should also mention that I'm not particularly proud of xemacs(bin) as the
name for the Provides, the "bin" isn't really very descriptive.  If someone can
come up with something significantly better, I'm open to changing that in the
XEmacs packages too.  Perhaps emacs(ui), emacs(main), or emacs(impl), or
emacs(your_suggestion_here)?  I can live with "bin" though.

Also, if the Provides are added to the main emacs and emacs-nox packages, a
dependency on it can be added to emacs-common like "Requires: emacs(bin) =
%{version}-%{release}" which makes sure emacs-common won't be installed without
an actual Emacs editor.  I haven't done that in the xemacs-common package; not
sure why - I'll look into it.
Comment 2 Jonathan Underwood 2007-05-07 19:35:38 EDT
Possible virtual provides names I can think of (none of which I feel any more
passionate about really):


or if we don't need ()s'
Comment 3 Jonathan Underwood 2007-06-01 19:46:47 EDT
Hi Chip, Ville - it would be nice if we could resolve this one so that we can
finalize the packaging guidelines for emacsen add on packages.
Comment 4 Chip Coldwell 2007-08-14 11:58:53 EDT
Added in 22.1-2.
Comment 5 Jonathan Underwood 2007-11-25 20:27:41 EST
This is resolved, closing bug.

Note You need to log in before you can comment on or make changes to this bug.