This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch experimental in repository ossim.
commit 204a1e3d046ca1ca87c67676b9fc0cecd15662eb Author: Bas Couwenberg <[email protected]> Date: Thu Aug 24 16:10:52 2017 +0200 Use pkg-info.mk variables instead of dpkg-parsechangelog output. --- debian/changelog | 1 + debian/rules | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f81ea7b..d1b8bd7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ ossim (2.0.0-1) UNRELEASED; urgency=medium * Change Priority from extra to optional. * Bump Standards-Version to 4.0.0, changes: Priority. * Add autopkgtest to test installability. + * Use pkg-info.mk variables instead of dpkg-parsechangelog output. -- Bas Couwenberg <[email protected]> Tue, 25 Jul 2017 12:20:49 +0200 diff --git a/debian/rules b/debian/rules index 92e01d7..e673fe4 100755 --- a/debian/rules +++ b/debian/rules @@ -3,9 +3,11 @@ # Enable hardening build flags export DEB_BUILD_MAINT_OPTIONS=hardening=+all -BUILD_DATE=$(shell dpkg-parsechangelog | sed -n 's/^Date: //p' | LC_ALL=C date -u "+%Y%m%d" -f -) +include /usr/share/dpkg/pkg-info.mk -OSSIM_VERSION=$(shell dpkg-parsechangelog|grep Version:|cut -d' ' -f2|cut -d- -f1) +BUILD_DATE=$(shell LC_ALL=C date -u "+%Y%m%d" -d "@$(SOURCE_DATE_EPOCH)") + +OSSIM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//') OSSIM_VERSION_TAG=$(subst .,_,$(OSSIM_VERSION)) DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ossim.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

