From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Tue, 10 Nov 2020 14:23:56 +0000 (+0100)
Subject: somehow %S causes problems with rpmbuild on f33, use something else
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e3f7750508edc5b4e229884402566a71aa666989;p=bootstrapfs.git

somehow %S causes problems with rpmbuild on f33, use something else
---

diff --git a/nodeimage.spec b/nodeimage.spec
index 3a11bf2..9c84d77 100644
--- a/nodeimage.spec
+++ b/nodeimage.spec
@@ -77,10 +77,10 @@ for the MyPLC side.
 pushd nodeimage
 ./build.sh %{pldistro} 
 for tar in *.tar *.tar.bz2; do 
-    start=$(date +%H-%M-%S)
+    start=$(date --iso-8601=seconds)
     sha1sum $tar > $tar.sha1sum
     chmod 444 $tar.sha1sum
-    end=$(date +%H-%M-%S)
+    end=$(date --iso-8601=seconds)
     echo "* Computed SHA1 checksum for $tar ($start .. $end) "
 done
 popd