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 <sebas...@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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to