[spatialite] 01/01: Fix upstream version extraction from changelog.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Jun 25 20:56:24 UTC 2015


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

sebastic pushed a commit to branch experimental
in repository spatialite.

commit 0a0d7376940f041933eef8d953481059d407da39
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jun 25 22:45:37 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 d4bb807..e440d21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export DH_OPTIONS
 FULL_VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d- -f1)
 VERSION := $(shell echo $(FULL_VERSION) | sed -e "s/~beta[[:digit:]]\+/-BETA/")
 LC_VERSION := $(shell echo $(VERSION) | tr A-Z a-z)
-SPATIALITE_VERSION := $(shell echo $(FULL_VERSION) | sed -e 's/~.*//')
+SPATIALITE_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 
 BASE_URL := http://www.gaia-gis.it/gaia-sins
 

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



More information about the Pkg-grass-devel mailing list