This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository shapelib.
commit efc85885471c9f5cc17ae8abe2b52386f0ebb0f5 Author: Bas Couwenberg <[email protected]> Date: Fri Sep 15 20:45:59 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 e819d30..66b4834 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ shapelib (1.4.1-1) UNRELEASED; urgency=medium * New upstream release. * Bump Standards-Version to 4.0.0, no changes. + * Use pkg-info.mk variables instead of dpkg-parsechangelog output. -- Bas Couwenberg <[email protected]> Fri, 15 Sep 2017 20:43:34 +0200 diff --git a/debian/rules b/debian/rules index 8041e07..30b39bb 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 -ne 's/^Date: //p' | LC_ALL=C date -u "+%Y-%m-%d" -f -) +include /usr/share/dpkg/pkg-info.mk -UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://') +BUILD_DATE := $(shell LC_ALL=C date -u "+%Y-%m-%d" -d "@$(SOURCE_DATE_EPOCH)") + +UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//') %: dh $@ --with autoreconf --parallel -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/shapelib.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

