1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From 7970a34ab1342887ccf1d6f56eead7125b48c54d Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 17 Oct 2021 08:54:17 +0000
Subject: [PATCH] package/CMakeLists.txt: Use UTC timestamp.
While cmake respects SOURCE_DATE_EPOCH, the timezone may still change
the date stamp used.
https://reproducible-builds.org/docs/source-date-epoch/
---
package/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/package/CMakeLists.txt
+++ b/package/CMakeLists.txt
@@ -3,7 +3,7 @@
# switch to parsing this from flightgear/version file explicity,
# but it's only needed by AppStream metainfo for the moment
-string(TIMESTAMP FG_CMAKE_TIMESTAMP "%Y-%m-%d")
+string(TIMESTAMP FG_CMAKE_TIMESTAMP "%Y-%m-%d" UTC)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
# our .desktop file specifies --launcher, so only install it for
|