[Pkg-sdl-commits] [libsdl1.2] 02/05: 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 14:14:11 UTC 2016


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

mafm pushed a commit to branch master
in repository libsdl1.2.

commit 47b53d23c9afb056e3cc94a47f8fe8a17f4577df
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Thu Mar 17 12:06:23 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 7fa4d71..7dfb288 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ libsdl1.2 (1.2.15+dfsg1-4) UNRELEASED; urgency=medium
 
   * 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"
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Thu, 17 Mar 2016 11:49:09 +0000
 
diff --git a/debian/rules b/debian/rules
index 7bf0ae6..2ecf41a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,7 +62,7 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	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
 
 override_dh_auto_clean:
 	dh_auto_clean

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



More information about the pkg-sdl-commits mailing list