[jmapviewer] 01/01: Don't hardcode upstream version, extract from changelog.

Bas Couwenberg sebastic at xs4all.nl
Sat Dec 13 12:24:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository jmapviewer.

commit 46e19e23f00c9a75331ae43db367351f1c1f5c52
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Dec 13 13:24:39 2014 +0100

    Don't hardcode upstream version, extract from changelog.
---
 debian/changelog | 6 ++++++
 debian/rules     | 5 ++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0e703d1..903bdfc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jmapviewer (1.04+dfsg-1~exp2) UNRELEASED; urgency=medium
+
+  * Don't hardcode upstream version, extract from changelog.
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Sat, 13 Dec 2014 13:24:33 +0100
+
 jmapviewer (1.04+dfsg-1~exp1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index a7628b7..69d21f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,12 @@
 # SVNREPO := http://svn.openstreetmap.org/applications/viewer/jmapviewer/
 
 # SVNREV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]svn([0-9]+).*,\1,p')
-# VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+
+VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed -e 's/+dfsg//')
 
 # DESTDIR := ../tarballs/jmapviewer-${VER}
 # DESTTGZ := ../tarballs/jmapviewer_${VER}.orig.tar.gz
 
-VER=1.02
-
 %:
 	dh $@
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/jmapviewer.git



More information about the Pkg-grass-devel mailing list