[proj] 12/14: Improve upstream version extraction from changelog.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Feb 21 22:07:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository proj.
commit c36966a14d87641c0baf670f5a9685752208891c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Feb 21 22:24:34 2015 +0100
Improve upstream version extraction from changelog.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c1ddf58..2c5a363 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export DH_OPTIONS
DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-PROJ_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+PROJ_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/~.*//; s/^[0-9]://')
JAVA_HOME = /usr/lib/jvm/default-java
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj.git
More information about the Pkg-grass-devel
mailing list