[Pkg-sdl-commits] [sdlgfx] 04/08: Fixes for reproducible builds - restrict time of files in examples tar file - use gzip -n
Manuel A. Fernandez Montecelo
mafm at moszumanska.debian.org
Tue Jun 20 20:12:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
mafm pushed a commit to annotated tag debian/2.0.25-6
in repository sdlgfx.
commit d59bc8d01b9155c3cd177a6d928ba570d7396bf8
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Tue Jun 20 20:19:17 2017 +0200
Fixes for reproducible builds
- restrict time of files in examples tar file
- use gzip -n
---
debian/changelog | 3 +++
debian/rules | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index a5be450..1d107f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ sdlgfx (2.0.25-6) UNRELEASED; urgency=medium
* Switch to debhelper compat level v10
- dh flags --parallel are not needed
- autoreconf is invoked by default
+ * Fixes for reproducible builds
+ - restrict time of files in examples tar file
+ - use gzip -n
-- Manuel A. Fernandez Montecelo <mafm at debian.org> Tue, 20 Jun 2017 19:32:20 +0200
diff --git a/debian/rules b/debian/rules
index d461cf0..6d3ad25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,8 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
- tar -cvz --transform='s,^Test,examples,' --owner=0 --group=0 -f debian/examples.tar.gz Test
+ SOURCE_DATE := $(shell dpkg-parsechangelog --show-field=Date)
+ GZIP=-n tar -cvz --transform='s,^Test,examples,' --owner=0 --group=0 --mtime="$(SOURCE_DATE)" -f debian/examples.tar.gz Test
override_dh_auto_clean:
dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/sdlgfx.git
More information about the pkg-sdl-commits
mailing list