[ioquake3] 01/01: Another try at making the build reproducible

Simon McVittie smcv at debian.org
Sun May 3 20:54:48 UTC 2015


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

smcv pushed a commit to branch master
in repository ioquake3.

commit 7c0c828ed974e5f2239026399a112f3aa3a5b90a
Author: Simon McVittie <smcv at debian.org>
Date:   Sun May 3 21:53:26 2015 +0100

    Another try at making the build reproducible
    
    Force UTC so the changelog date comes out the same in any timezone,
    and LC_ALL=C so we always get the same month names. Thanks to Reiner
    Herrmann for the patch. (Related to #784163)
---
 debian/changelog | 9 +++++++++
 debian/rules     | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 22db21c..0b5eb83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ioquake3 (1.36+u20150412+dfsg1-2) UNRELEASED; urgency=medium
+
+  * Another try at making the build reproducible: force UTC so the
+    changelog date comes out the same in any timezone, and LC_ALL=C
+    so we always get the same month names. Thanks to Reiner Herrmann
+    for the patch. (Related to #784163)
+
+ -- Simon McVittie <smcv at debian.org>  Sun, 03 May 2015 21:52:52 +0100
+
 ioquake3 (1.36+u20150412+dfsg1-1) unstable; urgency=medium
 
   * New upstream snapshot
diff --git a/debian/rules b/debian/rules
index 20aae5c..9fc1f69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ Q3PLATFORM         := $(shell $(CURDIR)/debian/q3arch platform HOST)
 Q3COMPILE_ARCH     := $(shell $(CURDIR)/debian/q3arch arch     BUILD)
 Q3COMPILE_PLATFORM := $(shell $(CURDIR)/debian/q3arch platform BUILD)
 distro             := $(shell lsb_release -is)
-PRODUCT_DATE := $(shell date --date="`dpkg-parsechangelog -SDate`" "+%b %_d %Y")
+PRODUCT_DATE := $(shell LC_ALL=C date --utc --date="`dpkg-parsechangelog -SDate`" "+%b %_d %Y")
 
 %:
 	dh $@ --parallel

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



More information about the Pkg-games-commits mailing list