summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2026-02-11 18:45:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2026-02-11 18:45:22 +0100
commit6fabe0508858da141967fea90bc2abdabd1fdb07 (patch)
tree281d7688553581bc5bf32af12919d6ccb414dc2e
parent12202751d5cb828e1ef81456c4d40fd7bc13a41c (diff)
downloadtde-packaging-6fabe0508858da141967fea90bc2abdabd1fdb07.tar.gz
tde-packaging-6fabe0508858da141967fea90bc2abdabd1fdb07.zip
DEB tde-cdbs: Fix FTBFS with date command from Rust Coreutils.
The date command from Rust Coreutils is not fully compatible with the date command from GNU Coreutils and strictly requires the date output format to be after options. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/_base/metapackages/tde-cdbs/debian/changelog8
-rw-r--r--debian/_base/metapackages/tde-cdbs/tde.mk2
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/_base/metapackages/tde-cdbs/debian/changelog b/debian/_base/metapackages/tde-cdbs/debian/changelog
index e1c768dd8..8b30a4c05 100644
--- a/debian/_base/metapackages/tde-cdbs/debian/changelog
+++ b/debian/_base/metapackages/tde-cdbs/debian/changelog
@@ -1,3 +1,11 @@
+tde-cdbs (4:0.2-0) unstable; urgency=low
+
+ * The date command from Rust Coreutils is not fully compatible
+ with the date command from GNU Coreutils and strictly requires
+ the date output format to be after options.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Wed, 11 Feb 2026 18:38:28 +0100
+
tde-cdbs (4:0.1-0) unstable; urgency=low
* The epoch change is for historical reasons from the KDE3 era.
diff --git a/debian/_base/metapackages/tde-cdbs/tde.mk b/debian/_base/metapackages/tde-cdbs/tde.mk
index 54314c41b..6afe6e6f5 100644
--- a/debian/_base/metapackages/tde-cdbs/tde.mk
+++ b/debian/_base/metapackages/tde-cdbs/tde.mk
@@ -188,7 +188,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" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+ date -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" +"DateTime: %m/%d/%Y %H:%M" >>.tdepkginfo
post-patches:: .tdepkginfo