From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Dec 2020 10:14:21 +0000
X-Dgit-Generated: 3.10.5-2 7b334038faf5ff5f41f35caaec93deadf1fc6589
Subject: VersionInfo.cmake: Set BUILD_DATE using UTC timezone.

(Closes: #978064)

While cmake respects SOURCE_DATE_EPOCH for the timestamp, the
timestamp needs to be specified in UTC.

https://reproducible-builds.org/docs/timestamps/

---

--- libdigidoc-3.10.5.orig/cmake/modules/VersionInfo.cmake
+++ libdigidoc-3.10.5/cmake/modules/VersionInfo.cmake
@@ -6,7 +6,7 @@ else()
 	set( BUILD_VER 0 )
 endif()
 if(NOT BUILD_DATE)
-	string(TIMESTAMP BUILD_DATE "%d.%m.%Y")
+	string(TIMESTAMP BUILD_DATE "%d.%m.%Y" UTC)
 endif()
 
 set( VERSION ${PROJECT_VERSION}.${BUILD_VER} )
