]> git.tuebingen.mpg.de Git - lopsub.git/commitdiff
lsg.c: Make the output of lopsubgen reproducible.
authorChris Lamb <lamby@debian.org>
Fri, 12 Jul 2019 05:59:50 +0000 (07:59 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 12 Jul 2019 06:11:11 +0000 (08:11 +0200)
Whilst working on the Reproducible Builds effort [0], we noticed that
liblopsub generates output that is not reproducible. The lopsubgen
utility does not respect SOURCE_DATE_EPOCH [1] and thus packages such
as src:tfortune are rendered unreproducible as they then encode the
build date and time.

This patch makes lopsubgen honour SOURCE_DATE_EPOCH.

[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>

No differences found