From 9bfbff4a3cfdd9fd20cc75f155b539f86281e640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 24 Jan 2022 16:09:48 +0100 Subject: [PATCH] Use UTC datetime for reproducible builds For reproducible builds, we use last modification time of the CHANGES file. This works pretty well, unless the builds are made in different timezones. Use UTC option to date command to make the builds reproducible. (cherry picked from commit 8c4d5d562365fb6a896daeb8a82d3056934f170b) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c4ada3050b..672bec018c 100644 --- a/configure.ac +++ b/configure.ac @@ -1253,7 +1253,7 @@ AM_CONDITIONAL([HAVE_XELATEX], [test "$XELATEX" != ":" && test "$LATEXMK" != ":" # Pull release date from CHANGES file last modification date # for reproducible builds # -release_date=`date -r CHANGES +%Y-%m-%d` +release_date=`date -u -r CHANGES +%Y-%m-%d` AC_SUBST([RELEASE_DATE], $release_date) #