[libspatialindex] 01/01: Fix upstream version extraction from changelog.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Thu Jun 25 20:52:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository libspatialindex.
commit 44cb8435f8f0dbb53a39c4691c731a52e1571e76
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Jun 25 22:25:44 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 280f6ca..4b6e415 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-SPATIALINDEX_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/^\(.*\)~.*/\1/' | sed -e 's/dev.*/.0/')
+SPATIALINDEX_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
%:
dh $@ --with autoreconf,pkgkde_symbolshelper
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libspatialindex.git
More information about the Pkg-grass-devel
mailing list