From 508d340f3dc09b31a9049066fc6c2fd17de414b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 6 Dec 2020 16:23:35 +0100 Subject: DEB common cdbs rules: Convert to UTC the date from the debian changelog, which is written to '.tdepkginfo'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It addresses time zone independence to ensure a reproducible build. Signed-off-by: Slávek Banko --- ubuntu/_base/applications/tdedocker/debian/cdbs/debian-tde.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubuntu/_base/applications/tdedocker') diff --git a/ubuntu/_base/applications/tdedocker/debian/cdbs/debian-tde.mk b/ubuntu/_base/applications/tdedocker/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/applications/tdedocker/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/applications/tdedocker/debian/cdbs/debian-tde.mk @@ -117,7 +117,7 @@ endif echo "# TDE package information" >.tdepkginfo dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo - date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo + date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo post-patches:: .tdepkginfo -- cgit v1.2.1