summaryrefslogtreecommitdiffstats
path: root/dilos/core/tdetoys/debian/cdbs
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-12-06 16:23:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-12-06 16:27:04 +0100
commit508d340f3dc09b31a9049066fc6c2fd17de414b7 (patch)
tree3a4d99b9a4a0b5010912083cfedf3abc4e340a57 /dilos/core/tdetoys/debian/cdbs
parenta29cf137186d696da4327cd6957bfa2e9278527f (diff)
downloadtde-packaging-508d340f3dc09b31a9049066fc6c2fd17de414b7.tar.gz
tde-packaging-508d340f3dc09b31a9049066fc6c2fd17de414b7.zip
DEB common cdbs rules: Convert to UTC the date from the debian changelog,
which is written to '.tdepkginfo'. It addresses time zone independence to ensure a reproducible build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dilos/core/tdetoys/debian/cdbs')
-rw-r--r--dilos/core/tdetoys/debian/cdbs/debian-tde.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/dilos/core/tdetoys/debian/cdbs/debian-tde.mk b/dilos/core/tdetoys/debian/cdbs/debian-tde.mk
index a989c54bd..29fca88e1 100644
--- a/dilos/core/tdetoys/debian/cdbs/debian-tde.mk
+++ b/dilos/core/tdetoys/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