[Pkg-sdl-commits] [libsdl1.2] 05/08: Fix for reproducible builds: timestamps_in_gzip_headers

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Sat Mar 12 00:40:35 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 8047e6e126e82e2e0f2ffe89f197a12734e2c7c1
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Sat Mar 12 00:26:43 2016 +0000

    Fix for reproducible builds: timestamps_in_gzip_headers
---
 debian/changelog | 4 +++-
 debian/rules     | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c46cd28..e97d0f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,9 @@ libsdl1.2 (1.2.15+dfsg1-3) UNRELEASED; urgency=medium
 
   * Disable suppot for DirectFB (Closes: #816125)
   * d/control: Update Vcs-* URLs, use https
-  * Fix for reproducible builds: timestamps_in_tarball
+  * Fixes for reproducible builds:
+    - timestamps_in_tarball, use --clamp-mtime with changelog as date
+    - timestamps_in_gzip_headers, export GZIP="-9n"
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Fri, 11 Mar 2016 23:45:17 +0000
 
diff --git a/debian/rules b/debian/rules
index 657e974..f305066 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,7 +62,7 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	tar --clamp-mtime --mtime="$(SOURCE_DATE)" czf debian/examples.tar.gz test --owner=0 --group=0 --mode=go=rX,u+rw,a-s
+	GZIP="-9n" tar --clamp-mtime --mtime="$(SOURCE_DATE)" czf debian/examples.tar.gz test --owner=0 --group=0 --mode=go=rX,u+rw,a-s
 
 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