[ioquake3] 01/02: Use TZ=UTC and LC_ALL=C.UTF-8 for the entire build
Simon McVittie
smcv at debian.org
Tue May 5 08:45:52 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 e37ff944afc92b84566a9f8d37276abb1fac586b
Author: Simon McVittie <smcv at debian.org>
Date: Mon May 4 08:55:24 2015 +0100
Use TZ=UTC and LC_ALL=C.UTF-8 for the entire build
---
debian/changelog | 8 ++++----
debian/rules | 5 ++++-
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0b5eb83..bc667c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
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)
+ * 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.UTF-8
+ so we always get the same month names. Based on a patch from
+ Reiner Herrmann. (Related to #784163)
-- Simon McVittie <smcv at debian.org> Sun, 03 May 2015 21:52:52 +0100
diff --git a/debian/rules b/debian/rules
index 9fc1f69..f009207 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
+
DEB_CPPFLAGS_MAINT_APPEND := \
-DWITH_OPENARENA \
$(NULL)
@@ -16,7 +19,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 LC_ALL=C date --utc --date="`dpkg-parsechangelog -SDate`" "+%b %_d %Y")
+PRODUCT_DATE := $(shell 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