This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository mapcache.
commit 875fa1c112eb1dce236e4aafbb528b952344740b Author: Bas Couwenberg <[email protected]> Date: Thu Apr 23 22:03:48 2015 +0200 Set the date embedded in man pages to the build date for reproducible builds. --- debian/changelog | 2 ++ debian/rules | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0298778..5ceff3a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ mapcache (1.2.1-3) UNRELEASED; urgency=medium * Add upstream metadata. * Update Source URL for GitHub in copyright file. * Update Homepage URL, strip en/ from path. + * Set the date embedded in man pages to the build date for + reproducible builds. -- Bas Couwenberg <[email protected]> Fri, 28 Nov 2014 21:09:04 +0100 diff --git a/debian/rules b/debian/rules index 2ef55f0..aa5dfb8 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,8 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) CFLAGS+=$(CPPFLAGS) CFLAGS+=$(LDFLAGS) -MAPCACHE_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/^\(.*\)~.*/\1/' | sed -e 's/dev.*/.0/') +MAPCACHE_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/^\(.*\)~.*/\1/' | sed -e 's/dev.*/.0/') +BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -) CMAKE_OPTS:= \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -57,7 +58,7 @@ override_dh_auto_configure: override_dh_auto_build: # Create man page from DocBook XML - -docbook2x-man $(CURDIR)/debian/mapcache_seed.1.xml + -docbook2x-man --string-param header-3="$(BUILD_DATE)" $(CURDIR)/debian/mapcache_seed.1.xml -mv mapcache_seed.1 $(CURDIR)/debian/ dh_auto_build -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcache.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

