[mapserver] 08/11: Fix upstream version extraction.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Jun 20 00:20:33 UTC 2015


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

sebastic pushed a commit to branch experimental
in repository mapserver.

commit 718e111f61e7f369b22bb827b3a55e7fac005afa
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jun 20 00:43:29 2015 +0200

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

diff --git a/debian/rules b/debian/rules
index c30657e..11b81e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ RUBYVERSIONS=$(shell dh_ruby --print-supported)
 PHP5API=$(shell php-config5 --phpapi)
 MANPAGES:=$(wildcard debian/man/*.*.xml)
 
-MS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+MS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/[~+].*//; s/^[0-9]://')
 BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
 
 CMAKE_OPTS:= \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapserver.git



More information about the Pkg-grass-devel mailing list