[libparse-debianchangelog-perl] 01/02: Further fiddling with TZ, aiming for reproducibility

Niko Tyni ntyni at moszumanska.debian.org
Mon Aug 24 19:12:18 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 abbb370d87f0b5555476fd4cafd3fbd425d3c4aa
Author: Niko Tyni <ntyni at debian.org>
Date:   Mon Aug 24 19:19:41 2015 +0300

    Further fiddling with TZ, aiming for reproducibility
    
    The only place where TZ apparently matters is the date call setting
    PO_BUILD_DATE, which the previous export didn't affect. Oops.
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index c6627cf..c3614f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
-export TZ=UTC
-export PO_BUILD_DATE = $(shell date -d "`dpkg-parsechangelog --show-field Date`" \
+export PO_BUILD_DATE = $(shell date --utc -d "`dpkg-parsechangelog --show-field Date`" \
 	                               '+%F %T')
 
 %:

-- 
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