[Pkg-emacsen-addons] Bug#924512: elpa-with-editor: Fix version 2.6.0 -> 2.8.1

Sven Joachim svenjoac at gmx.de
Wed Oct 16 10:17:13 BST 2019


Control: tags -1 patch

On 2019-03-13 23:00 +0300, Fedor Khodkov wrote:

> Package: elpa-with-editor
> Version: 2.8.1-1
> Severity: normal
>
> Hello,
>
> Debian package claims elpa-with-editor has version 2.8.1, but inside
> emacs it's seen as 2.6.0.

This causes "git-commit" (shipped in elpa-git-commit) to be listed as
incompatible in Emacs' package manager, as it requires with-editor
>= 2.8.0.

> I suppose version information is generated
> inside debian/rules file, where in line 2 it's still says VERSION=2.6.0

This VERSION should be obtained from the Debian changelog and not be
hardcoded.  Attached is a patch that does the trick using dpkg's
pkg-info.mk Makefile snippets.

Cheers,
       Sven

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d-rules-Compute-VERSION-from-d-changelog.patch
Type: text/x-diff
Size: 670 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-emacsen-addons/attachments/20191016/67ff1967/attachment.patch>


More information about the Pkg-emacsen-addons mailing list