diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-12-06 16:30:01 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-12-06 16:30:01 +0100 |
commit | 9e0ef7b811a1f7bb942054c5da7843bf36c5dcbb (patch) | |
tree | cde37ee14e46b4f24bb0c47365f15a02dc2e003a /ubuntu/_base/dependencies | |
parent | 7b9aedfdf14899366b25ac89008f84a11461c99c (diff) | |
download | tde-packaging-9e0ef7b811a1f7bb942054c5da7843bf36c5dcbb.tar.gz tde-packaging-9e0ef7b811a1f7bb942054c5da7843bf36c5dcbb.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>
(cherry picked from commit 508d340f3dc09b31a9049066fc6c2fd17de414b7)
Diffstat (limited to 'ubuntu/_base/dependencies')
6 files changed, 6 insertions, 6 deletions
diff --git a/ubuntu/_base/dependencies/akode/debian/cdbs/debian-tde.mk b/ubuntu/_base/dependencies/akode/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/dependencies/akode/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/dependencies/akode/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 diff --git a/ubuntu/_base/dependencies/arts/debian/cdbs/debian-tde.mk b/ubuntu/_base/dependencies/arts/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/dependencies/arts/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/dependencies/arts/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 diff --git a/ubuntu/_base/dependencies/libcaldav/debian/cdbs/debian-tde.mk b/ubuntu/_base/dependencies/libcaldav/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/dependencies/libcaldav/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/dependencies/libcaldav/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 diff --git a/ubuntu/_base/dependencies/libcarddav/debian/cdbs/debian-tde.mk b/ubuntu/_base/dependencies/libcarddav/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/dependencies/libcarddav/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/dependencies/libcarddav/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 diff --git a/ubuntu/_base/dependencies/tqca-tls/debian/cdbs/debian-tde.mk b/ubuntu/_base/dependencies/tqca-tls/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/dependencies/tqca-tls/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/dependencies/tqca-tls/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 diff --git a/ubuntu/_base/dependencies/tqca/debian/cdbs/debian-tde.mk b/ubuntu/_base/dependencies/tqca/debian/cdbs/debian-tde.mk index 24191b2cd..641c6c6cc 100644 --- a/ubuntu/_base/dependencies/tqca/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/dependencies/tqca/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 |