[openarena] 01/02: Set LC_ALL=C.UTF-8 and TZ=UTC for the entire build
Simon McVittie
smcv at debian.org
Tue May 5 08:46:24 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 7693aa96af8d6e10766cfd7cc94431fd9bd5d5b7
Author: Simon McVittie <smcv at debian.org>
Date: Mon May 4 08:52:32 2015 +0100
Set LC_ALL=C.UTF-8 and TZ=UTC for the entire build
---
debian/changelog | 6 +++---
debian/rules | 5 ++++-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b87c8e1..c95e252 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
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)
+ changelog date comes out the same in any timezone, and LC_ALL=C.UTF-8
+ so we always get the same month names. Based on a patch from
+ Reiner Herrmann. (Closes: #784163)
-- Simon McVittie <smcv at debian.org> Fri, 01 May 2015 23:29:15 +0100
diff --git a/debian/rules b/debian/rules
index fc0917e..2006edd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+export LC_ALL=C.UTF-8
+export TZ=UTC
+
include /usr/share/dpkg/default.mk
Q3ARCH := $(shell /usr/share/ioquake3/q3arch arch HOST)
@@ -8,7 +11,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 LC_ALL=C date --utc --date="`dpkg-parsechangelog -SDate`" "+%b %_d %Y")
+PRODUCT_DATE := $(shell 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