Source: leafpad
Version: 0.8.18.1-4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that leafpad 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

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to