[mapserver] 07/08: Improve upstream version extraction from changelog.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Jul 7 19:34:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository mapserver.
commit b8a6ede2a4ca8ef0b66c3e4ea10cc2034c3e411d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue Jul 7 21:15:37 2015 +0200
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 c30657e..b6d22ba 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