mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 10:10:07 +01:00
rpm/build_clean: do not use jq
It is not available when bootstrapping in beaker. Python is always there.
This commit is contained in:
parent
dcd523a573
commit
6f9ecc7621
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue