[hdf5] 04/05: debian/rules: fix version mangling regarding +repack
Gilles Filippini
pini at debian.org
Sun Jan 14 19:48:40 UTC 2018
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to branch master
in repository hdf5.
commit edf3baf1bc93161eabcdcbf13ca4d758cebd973e
Author: Gilles Filippini <pini at debian.org>
Date: Sun Jan 14 16:53:45 2018 +0100
debian/rules: fix version mangling regarding +repack
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 61d79c7..d7f068e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,8 @@
package = libhdf5
pkgversion ?= $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-upstreamversion ?= $(shell echo $(pkgversion) | sed -r 's/^([0-9\.]*)([-~][^-~+]*)?(\+docs[0-9]*)?-[^-]*$$/\1\2/')
-libversion ?= $(shell echo $(pkgversion) | sed -r 's/^([0-9\.]*)([-~][^-~+]*)?(\+docs[0-9]*)?-[^-]*$$/\1/')
+upstreamversion ?= $(shell echo $(pkgversion) | sed -r 's/^([0-9\.]*)([-~][^-~+]*)?(\+repack[0-9]*)?-[^-]*$$/\1\2/')
+libversion ?= $(shell echo $(pkgversion) | sed -r 's/^([0-9\.]*)([-~][^-~+]*)?(\+repack[0-9]*)?-[^-]*$$/\1/')
# BEGIN - Get sonames from config/lt_vers.am
include config/lt_vers.am
--
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