From 6f9ecc762160ec75b9b619cf796199d3ef59d99a Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 4 Feb 2025 12:20:04 +0100 Subject: [PATCH] rpm/build_clean: do not use jq It is not available when bootstrapping in beaker. Python is always there. --- contrib/fedora/rpm/build_clean.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh index 60a2db7b3d..309ebae1ab 100755 --- a/contrib/fedora/rpm/build_clean.sh +++ b/contrib/fedora/rpm/build_clean.sh @@ -189,7 +189,8 @@ if [[ $IGNORE_DIRTY != 1 ]]; then fi get_version_meson() { - meson introspect "$GITDIR/build" --projectinfo | jq -r .version + meson introspect "$GITDIR/build" --projectinfo | + python -c 'import json, sys; print(json.load(sys.stdin)["version"])' } if [[ $NO_DIST != 1 ]]; then