[libtime-y2038-perl] 01/02: Set TZ=UTC in debian/rules to make the build reproducible

Niko Tyni ntyni at moszumanska.debian.org
Wed Aug 26 15:55:16 UTC 2015


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

ntyni pushed a commit to branch master
in repository libtime-y2038-perl.

commit bd116213187f7c68d8a7ccf007656040d4083204
Author: Niko Tyni <ntyni at debian.org>
Date:   Wed Aug 26 18:42:54 2015 +0300

    Set TZ=UTC in debian/rules to make the build reproducible
    
    check_max.c is sensitive to TZ, and its results get embedded in
    y2038/time64_limits.h by munge_config
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..d3d2ceb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,8 @@
 #!/usr/bin/make -f
 
+# check_max.c is sensitive to TZ, making the build unreproducible
+# the results get embedded in y2038/time64_limits.h by munge_config
+export TZ=UTC
+
 %:
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtime-y2038-perl.git



More information about the Pkg-perl-cvs-commits mailing list