From d9513c34d71987cf71be342759c66b827d6d4f60 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Oct 01 2024 01:08:32 +0000 Subject: s Signed-off-by: Ryan Brue --- diff --git a/scripts/srpm.sh b/scripts/srpm.sh index 5224504..8a79503 100755 --- a/scripts/srpm.sh +++ b/scripts/srpm.sh @@ -82,7 +82,7 @@ if [ "$NIGHTLY" -eq 1 ]; then else sed -i "/^Version: / s/.*/Version: $VERSION/" $NAME.spec # Replace shortcommit with version_no_tilde - sed -i "/^%global shortcommit / s/.*/%global version_no_tilde $VERSION_NO_TILDE" $NAME.spec + sed -i "/^%global shortcommit / s/.*/%global version_no_tilde $VERSION_NO_TILDE/" $NAME.spec sed -i "s/%{shortcommit}/%{version_no_tilde}/g" $NAME.spec # Delete commitdate, we don't need it here sed -i "/^%global commitdate /d" $NAME.spec