This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch experimental in repository postgis.
commit c302fb92b5f7ec07caaa1859e67953b2d5e8f273 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Sep 25 12:20:30 2015 +0200 Fix symbols version for pre-releases. --- debian/changelog | 1 + debian/rules | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f536396..2531bb0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ postgis (2.2.0~rc1+dfsg-1) UNRELEASED; urgency=medium [ Bas Couwenberg ] * Add build dependency on libsfcgal-dev. + * Fix symbols version for pre-releases. -- Markus Wanner <mar...@bluegap.ch> Fri, 25 Sep 2015 19:19:19 +0200 diff --git a/debian/rules b/debian/rules index 79c7947..034545b 100755 --- a/debian/rules +++ b/debian/rules @@ -66,6 +66,9 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +# Upstream version (including ~rcN) for symbols version +UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://') + MAJOR_VERSION = $(shell grep POSTGIS_MAJOR_VERSION Version.config|cut -d= -f2) MINOR_VERSION = $(shell grep POSTGIS_MINOR_VERSION Version.config|cut -d= -f2) MICRO_VERSION = $(shell grep POSTGIS_MICRO_VERSION Version.config|cut -d= -f2) @@ -313,7 +316,7 @@ binary-common: dh_strip dh_compress dh_fixperms - dh_makeshlibs -Xusr/lib/postgis -- -v$(POSTGIS_VERSION) + dh_makeshlibs -Xusr/lib/postgis -- -v$(UPSTREAM_VERSION) dh_installdeb dh_shlibdeps dh_gencontrol -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel