[Pkg-sdl-commits] [libsdl2] 02/04: Fix for reproducible builds: sort files by name when creating "examples.tar.gz"

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Thu Mar 17 23:43:55 UTC 2016


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

mafm pushed a commit to branch master
in repository libsdl2.

commit d9db0cf361995949f3806dd5c41af82bff728580
Author: Manuel A. Fernandez Montecelo <mafm at debian.org>
Date:   Thu Mar 17 12:10:14 2016 +0000

    Fix for reproducible builds: sort files by name when creating "examples.tar.gz"
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d25ba58..d1b3e09 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ libsdl2 (2.0.4+dfsg2-1) UNRELEASED; urgency=medium
   * Add depends from -doc on libjs-jquery, use symlink instead of embedded copy
   * Ensure proper migration from -dbg package using "dh_strip --dbgsym-migration"
   * Bump debhelper dependency for --dbgsym-migration
+  * Fix for reproducible builds:
+    - sort files by name when creating "examples.tar.gz"
 
   [ Gianfranco Costamagna ]
   * Fix insecure VCS fields.
diff --git a/debian/rules b/debian/rules
index dd88aef..9d88d12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,7 +71,7 @@ override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)
 
 override_dh_auto_build-indep:
-	GZIP="-9n" tar czf debian/examples.tar.gz test --owner=0 --group=0 --mode=go=rX,u+rw,a-s --clamp-mtime --mtime="$(SOURCE_DATE)"
+	GZIP="-9n" tar czf debian/examples.tar.gz test --owner=0 --group=0 --mode=go=rX,u+rw,a-s --clamp-mtime --mtime="$(SOURCE_DATE)" --sort=name
 	doxygen docs/doxyfile
 	# useless files
 	find output -name "*.md5" -delete

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2.git



More information about the pkg-sdl-commits mailing list