Source: armada-backlight
Version: 1.1-8
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that armada-backlight doesn't build reproducibly.
The build date is embedded into the manpage.

The attached patch fixes this by using the date from the latest
changelog entry.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/debian/pod2man.mk b/debian/pod2man.mk
index d639c59..65df237 100644
--- a/debian/pod2man.mk
+++ b/debian/pod2man.mk
@@ -36,7 +36,7 @@ RELEASE         ?= $(PACKAGE)
 
 # Optional variables to set
 MANSECT		?= 1
-PODCENTER	?= $$(date "+%Y-%m-%d")
+PODCENTER	?= $$(dpkg-parsechangelog -S Date -l changelog | date -u "+%Y-%m-%d" -f -)
 
 # Directories
 MANSRC		=

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to