[ace-of-penguins] 08/29: Make the build reproducible by using the last changelog date as a timestamp for

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 17:34:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository ace-of-penguins.

commit 15a5c0f409b18aece9b4d937f0523c29f3287408
Author: Markus Koschany <apo at debian.org>
Date:   Wed Jan 6 15:34:58 2016 +0100

    Make the build reproducible by using the last changelog date as a timestamp for
    
    the manpage.
    
    Thanks: Reiner Herrmann for the report and patch.
    Closes: #782316
---
 debian/pod2man.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/pod2man.mk b/debian/pod2man.mk
index d639c59..a384a25 100644
--- a/debian/pod2man.mk
+++ b/debian/pod2man.mk
@@ -35,8 +35,9 @@ PACKAGE		?= package
 RELEASE         ?= $(PACKAGE)
 
 # Optional variables to set
+BUILD_DATE	?= $$(dpkg-parsechangelog -S Date -lchangelog)
 MANSECT		?= 1
-PODCENTER	?= $$(date "+%Y-%m-%d")
+PODCENTER	?= $$(date -u "+%Y-%m-%d" -d "$(BUILD_DATE)")
 
 # Directories
 MANSRC		=

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ace-of-penguins.git



More information about the Pkg-games-commits mailing list