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

sebastic pushed a commit to branch stretch
in repository osgearth.

commit 7c64ca6f46c1572c99f15d19c89bfdf9b2da36b8
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Thu Jun 25 22:43:14 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 8a11c4d..023ebc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ CFLAGS   += $(CPPFLAGS)
 CXXFLAGS += $(CPPFLAGS)
 
 PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
-VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' 
| sed -e 's/\+.*//')
+VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' 
| sed -e 's/\+.*//; s/^[0-9]://')
 BUILD_DATE := $(shell dpkg-parsechangelog | sed -n 's/^Date: //p' | LC_ALL=C 
date -u "+%d %B %Y" -f -)
 
 MANPAGES:=$(wildcard debian/man/*.*.xml)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/osgearth.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