[hdf5] 10/11: debian/rules: fix version retrieval.

Gilles Filippini pini at moszumanska.debian.org
Sun Feb 16 23:11:36 UTC 2014


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

pini pushed a commit to branch master
in repository hdf5.

commit a821d5d36fca647e6f4bfe23007687d34e133c91
Author: Gilles Filippini <pini at debian.org>
Date:   Sun Feb 16 20:57:22 2014 +0100

    debian/rules: fix version retrieval.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 70aaaec..1f2eb06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ include /usr/share/dpkg/buildflags.mk
 
 package = libhdf5
 pkgversion ?= $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-version ?= $(shell echo $(pkgversion) | sed 's/\([0-9\.]\)-[^-]*$$/\1/')
+version ?= $(shell echo $(pkgversion) | sed 's/\([0-9\.]\)\(+docs[0-9]*\)\?-[^-]*$$/\1/')
 soname =  7
 major_version = $(shell echo $(version) | cut -d. -f1,2)
 serpack = $(package)-$(soname)

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



More information about the Pkg-grass-devel mailing list