Source: splitpatch Version: 0.0+20131223+gitb13d810-1 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 the "reproducible builds" effort [1], we have noticed that splitpatch could not be built reproducibly. The current date is embedded into the manpage. The attached patch replaces the timestamp with 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..ea04401 100644 --- a/debian/pod2man.mk +++ b/debian/pod2man.mk @@ -34,9 +34,11 @@ endif PACKAGE ?= package RELEASE ?= $(PACKAGE) +SOURCE_DATE_EPOCH ?= $$(dpkg-parsechangelog -l changelog -S Date | date "+%s" -f -) + # Optional variables to set MANSECT ?= 1 -PODCENTER ?= $$(date "+%Y-%m-%d") +PODCENTER ?= $$(date -u "+%Y-%m-%d" -d "@$(SOURCE_DATE_EPOCH)") # Directories MANSRC =
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