[Pkg-sdl-commits] [libsdl2-gfx] 01/02: Make the build reproducible

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Tue Jun 28 20:12:52 UTC 2016


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

locutusofborg pushed a commit to annotated tag debian/1.0.1+dfsg-4
in repository libsdl2-gfx.

commit 31e8d049deab8ff4f864c23611241dee526e17b1
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Tue Jun 28 22:09:37 2016 +0200

    Make the build reproducible
---
 debian/control | 1 +
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 2e710d7..1a0beeb 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: autoconf,
                dh-autoreconf,
                libsdl2-dev,
                libtool,
+               tar (>= 1.28),
                pkg-config
 Build-Depends-Indep: doxygen
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl2-gfx.git
diff --git a/debian/rules b/debian/rules
index f6272fe..b4f2b2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,7 @@ override_dh_install:
 
 override_dh_auto_build:
 	dh_auto_build
-	tar -cvz --transform='s,^test,examples,' -f debian/examples.tar.gz --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner test
+	tar -cvz --transform='s,^test,examples,' -f debian/examples.tar.gz --clamp-mtime --mtime="@$(SOURCE_DATE_EPOCH)" --sort=name --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner test
 
 override_dh_auto_build-indep:
 	doxygen Docs/html.doxyfile

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



More information about the pkg-sdl-commits mailing list