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

Attachment: signature.asc
Description: PGP signature

Reply via email to