[Reproducible-commits] [cdbs] 40/41: Export environment variable $SOURCE_DATE_EPOCH to produce reproducible output

Mattia Rizzolo mattia at debian.org
Tue May 10 14:42:29 UTC 2016


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

mattia pushed a commit to branch reproducible
in repository cdbs.

commit f8052fb816ccdb622e112f54e9fbffef99952e44
Author: akira <marivalenm at gmail.com>
Date:   Wed Jul 29 15:50:36 2015 +0200

    Export environment variable $SOURCE_DATE_EPOCH to produce reproducible output
    
    Closes: #794241
---
 1/rules/debhelper.mk.in | 2 ++
 debian/changelog        | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/1/rules/debhelper.mk.in b/1/rules/debhelper.mk.in
index 13d149a..169f7a1 100644
--- a/1/rules/debhelper.mk.in
+++ b/1/rules/debhelper.mk.in
@@ -75,6 +75,8 @@
 #   Completely override argument passing to dh_perl.
 ####
 
+export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog --count 1 -SDate)" +%s)
+
 #PATH_RULES#
 
 ifndef _cdbs_rules_debhelper
diff --git a/debian/changelog b/debian/changelog
index 257d9ea..5531bd9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -70,6 +70,10 @@ cdbs (0.5) UNRELEASED; urgency=medium
   * Support building python modules for pypy
   * Add myself to Uploaders
 
+  [ Maria Valentina Marin ]
+  * Export environment variable $SOURCE_DATE_EPOCH to produce reproducible
+    output.  Closes: #794241
+
  -- Jonas Smedegaard <dr at jones.dk>  Thu, 02 Apr 2015 12:00:17 +0200
 
 cdbs (0.4.130) unstable; urgency=medium

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/cdbs.git



More information about the Reproducible-commits mailing list