[Fedora-packaging] Packaging guidelines for Emacsen add-on packages

Ville Skyttä ville.skytta at iki.fi
Wed May 30 06:49:49 UTC 2007

On Wednesday 30 May 2007, Jonathan Underwood wrote:
> On 30/05/07, Jonathan Underwood <jonathan.underwood at gmail.com> wrote:
> Also, this wouldn't work as intended on a system where more than one
> arch of the emacs package is installed - eg. on my system i seem to
> have emacs.x86_64 and emacs.i386 installed, and so
> rpm -q --qf=%{VERSION} emacs
>  gives 22.0.9922.0.99.
> Granted, that wouldn't happen in a mock chroot buildroot, but still, I
> think we should do a bit better than that :) Can't see how though :(

Perhaps something like this (untested):

rpm -qf --qf="%{VERSION}\n" /usr/bin/emacs | head -n 1

I'm sure there's a limit somewhere how far we're willing to take these tweaks 

More information about the Fedora-packaging mailing list