[proj] 02/02: Fix upstream version extraction from changelog.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Jun 25 20:55:35 UTC 2015


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

sebastic pushed a commit to branch master
in repository proj.

commit c8771a4a826567a4a0fe410eec3471846e59840c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jun 25 22:44:32 2015 +0200

    Fix upstream version extraction from changelog.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3921452..05cb08f 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' | sed -e 's/~.*//; s/^[0-9]://')
+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