[allegro4.4] 01/04: Make build reproducible, fixing examples/source.tar.gz sorted locale-dependant (Closes: #823879)
Andreas Rönnquist
gusnan at moszumanska.debian.org
Tue May 10 18:11:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
gusnan pushed a commit to branch master
in repository allegro4.4.
commit 09a24d17da71db1df6d1936ae04349e6f06d3284
Author: Andreas Rönnquist <gusnan at debian.org>
Date: Tue May 10 16:46:00 2016 +0200
Make build reproducible, fixing examples/source.tar.gz sorted locale-dependant (Closes: #823879)
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index a9ba95b..42ed26e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,7 +58,9 @@ override_dh_auto_install:
# Create examples source tar.gz
rm -rf build/tmp; mkdir build/tmp
cp examples/*.c examples/*.h examples/*.dat examples/*.pcx examples/*.txt examples/*.ini tests/*.c build/tmp/
- cd build/tmp; GZIP="-9n" tar zcvf source.tar.gz --mtime="$(BUILD_DATE)" --mode=go=rX,u+rw,a-s *
+# Glob expansions are sorted in a locale-sensitive manner; set the
+# locale to make the order reproducible.
+ cd build/tmp && (LC_ALL=C; export LC_ALL; GZIP="-9n" tar zcvf source.tar.gz --mtime="$(BUILD_DATE)" --mode=go=rX,u+rw,a-s *)
cp build/tmp/source.tar.gz $(CURDIR)/debian/tmp/$(DOC_EXAMPLES_DIR)
override_dh_makeshlibs:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/allegro4.4.git
More information about the Pkg-games-commits
mailing list