[Pkg-emacsen-addons] Bug#829200: Bug#829200: dh-elpa: Could dh-elpa be told to use debian version as elpa version

Sean Whitton spwhitton at spwhitton.name
Mon Jul 18 08:48:54 UTC 2016


Hello,

On Mon, Jul 18, 2016 at 10:19:52AM +0200, Rémi Vanicat wrote:
> after checking, there is in fact a bug in my code: the
> DEB_VERSION_UPSTREAM is define in /usr/share/dpkg/pkg-info.mk that was
> included from the debian/rules I used as test, but is not in a common
> build system. likewise if DEB_UPSTREAM_VERSION is define in cdbs, it
> won't be define in a standard build environment. I won't have the time
> to do fix this soon, do not hesitate to correct my patch.

Ah, I misunderstood your intentions.  I thought that you were expecting
the user to manually set DEB_VERSION_UPSTREAM in their rules file.  Are
you expecting them to use either /usr/share/dpkg/pkg-info.mk or CDBS to
do it?  If so, dh_elpa should probably check both DEB_VERSION_UPSTREAM
and DEB_UPSTREAM_VERSION, using whichever one is set, or signal an
error if both are set and they are different.  Does that sound right?

-- 
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-emacsen-addons/attachments/20160718/628e38a3/attachment-0001.sig>


More information about the Pkg-emacsen-addons mailing list