[libparse-debianchangelog-perl] 01/02: Set TZ=UTC for the whole build to make the build reproducible

Niko Tyni ntyni at moszumanska.debian.org
Thu Aug 20 18:59:03 UTC 2015


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

ntyni pushed a commit to branch master
in repository libparse-debianchangelog-perl.

commit 916244245d85a12a085de1cd9884d13c61a10659
Author: Niko Tyni <ntyni at debian.org>
Date:   Thu Aug 20 21:28:56 2015 +0300

    Set TZ=UTC for the whole build to make the build reproducible
    
    Commit 498bd59250d5c10401db97e68219a9047f563140 set TZ=UTC
    for dh_auto_build, but the timestamps are generated in the
    dh_auto_configure stage by Build.PL.
    
    Set the time zone for the whole build rather than iterate
    further, there should be no harm in it.
---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9149ba3..c6627cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,8 @@
 #!/usr/bin/make -f
 
+export TZ=UTC
 export PO_BUILD_DATE = $(shell date -d "`dpkg-parsechangelog --show-field Date`" \
 	                               '+%F %T')
 
 %:
 	dh $@ --buildsystem=perl_build
-
-override_dh_auto_build:
-	TZ=UTC dh_auto_build

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



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