rpm/build_clean: do not use jq
It is not available when bootstrapping in beaker. Python is always there.
This commit is contained in:
@@ -189,7 +189,8 @@ if [[ $IGNORE_DIRTY != 1 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
get_version_meson() {
|
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
|
if [[ $NO_DIST != 1 ]]; then
|
||||||
|
Reference in New Issue
Block a user