[libapache-authznetldap-perl] 01/07: Replace timestamp in man pages to latest debian/changelog entry timestamp

gregor herrmann gregoa at debian.org
Fri Sep 11 13:52:41 UTC 2015


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

gregoa pushed a commit to branch master
in repository libapache-authznetldap-perl.

commit 1c8a93b6252aca52d1476a4d766f549ea6e9dc2a
Author: Eduard Sanou <dhole at openmailbox.org>
Date:   Thu Sep 10 15:49:08 2015 +0200

    Replace timestamp in man pages to latest debian/changelog entry timestamp
    
    to make the package build reproducibly.
    
    Closes: #798558
---
 debian/control | 1 +
 debian/rules   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/control b/debian/control
index c5477a9..50a6e5e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl,
+                     dpkg-dev (>= 1.17.0),
                      libapache2-mod-perl2,
                      libconvert-asn1-perl,
                      libextutils-autoinstall-perl,
diff --git a/debian/rules b/debian/rules
index 2d33f6a..e7ee657 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
 
+SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s)
+export POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="@$(SOURCE_DATE_EPOCH)")
+
 %:
 	dh $@

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



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