[josm] 08/09: Use pkg-info.mk variables instead of dpkg-parsechangelog output.
Bas Couwenberg
sebastic at debian.org
Sat Jul 1 10:05:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository josm.
commit 4afd0418285bfd810af0a7205c1ebf7ac5969bfd
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Jul 1 11:46:12 2017 +0200
Use pkg-info.mk variables instead of dpkg-parsechangelog output.
---
debian/changelog | 1 +
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 5552e30..59f3283 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ josm (0.0.svn12443+dfsg-1) UNRELEASED; urgency=medium
* Add openjfx to (build) dependencies for audio mapping support.
* Bump Standards-Version to 4.0.0, no changes.
* Add autopkgtest to test installability.
+ * Use pkg-info.mk variables instead of dpkg-parsechangelog output.
-- Bas Couwenberg <sebastic at debian.org> Sat, 01 Jul 2017 11:32:37 +0200
diff --git a/debian/rules b/debian/rules
index 355ff2b..b6190c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,8 @@ endif
DESTDIR := ../tarballs/josm-${VERSION}
DESTTGZ := ../tarballs/josm_${VERSION}+dfsg.orig.tar.gz
-DEB_VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2)
+include /usr/share/dpkg/pkg-info.mk
+
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | cut -d- -f1)
IMGSTYLES_DIR := $(CURDIR)/debian/josm/usr/share/josm/images/styles
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm.git
More information about the Pkg-grass-devel
mailing list