]> git.tue.mpg.de Git - lopsub.git/commit
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)
commit0a8299dd8da7dba7437550d12bf180d9e10d512b
tree4978f6fa4d7dc3aec03490e6898945001b13b609
parentbb3a974325f5967c38da61ff61b5f7c732fcfa59
lsg.c: Make the output of lopsubgen reproducible.

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>
lsg.c