[openarena] 07/07: Another try at making the build reproducible

Simon McVittie smcv at debian.org
Sun May 3 20:50:59 UTC 2015


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

smcv pushed a commit to branch master
in repository openarena.

commit 6ffa02221c461ed77b47ce82e0859b0b1190be7f
Author: Simon McVittie <smcv at debian.org>
Date:   Sun May 3 21:50:17 2015 +0100

    Another try at making the build reproducible
    
    Force TZ=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. (Closes: #784163)
---
 debian/changelog | 9 +++++++++
 debian/rules     | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a8beecc..b87c8e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+openarena (0.8.8-13) UNRELEASED; urgency=medium
+
+  * Another try at making the build reproducible: force TZ=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. (Closes: #784163)
+
+ -- Simon McVittie <smcv at debian.org>  Fri, 01 May 2015 23:29:15 +0100
+
 openarena (0.8.8-12) unstable; urgency=medium
 
   * Disable patch numbers in debian/patches, to reduce diffstat when patches
diff --git a/debian/rules b/debian/rules
index 8715ad2..fc0917e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ Q3PLATFORM         := $(shell /usr/share/ioquake3/q3arch platform HOST)
 Q3COMPILE_ARCH     := $(shell /usr/share/ioquake3/q3arch arch     BUILD)
 Q3COMPILE_PLATFORM := $(shell /usr/share/ioquake3/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")
 
 # the Q3 engine's build system doesn't respect CPPFLAGS, so put them in CFLAGS
 CFLAGS += $(CPPFLAGS) -fsigned-char

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



More information about the Pkg-games-commits mailing list