[libgda] Use ChangeLog date instead of build date
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Use ChangeLog date instead of build date
- Date: Sat, 4 Nov 2017 20:40:59 +0000 (UTC)
commit 886091103515019f03eb074bd1ec50c31c85c1a0
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: Mon Oct 23 21:06:42 2017 +0200
Use ChangeLog date instead of build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.
And use UTC to be independent of timezones.
Without this patch gda-sql.1 would vary for builds on different days.
Bug #789382
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9898a32..55b3dd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ CHECK_FD_CLOEXEC([AC_DEFINE(
[Whether FD_CLOEXEC is defined.])
])
-GDA_BUILDDATE=`date '+%F'`
+GDA_BUILDDATE=`date -u -r ChangeLog '+%F'`
AC_SUBST(GDA_BUILDDATE, $GDA_BUILDDATE)
dnl **********************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]