[librasterlite2] 05/07: Don't strip +devel from upstream symbols version.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Jun 27 18:13:18 UTC 2015


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

sebastic pushed a commit to branch master
in repository librasterlite2.

commit 64bc3c517c0b1e6771225bb1693dfa5a286119a3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jun 27 18:40:40 2015 +0200

    Don't strip +devel from upstream symbols version.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d92323c..62add8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
 # Verbose test output
 export VERBOSE=1
 
-UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+(debian|dfsg|ds|deb)[0-9]*.*//; s/^[0-9]://')
 BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne '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/librasterlite2.git



More information about the Pkg-grass-devel mailing list