rpm/build_clean: do not use jq

It is not available when bootstrapping in beaker. Python is always
there.
This commit is contained in:
Lubomir Rintel
2025-02-04 12:20:04 +01:00
parent dcd523a573
commit 6f9ecc7621

View File

@@ -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