virtualenv rpm_build
# shellcheck disable=SC1091
source rpm_build/bin/activate
-pip install --upgrade pip
-pip install -r "$WORKSPACE/packaging/rpm/requirements.txt"
+PYTHON="rpm_build/bin/python"
+$PYTHON -m pip install --upgrade pip
+$PYTHON -m pip install -r "$WORKSPACE/packaging/rpm/requirements.txt"
# Build the latest snapshot matching the given major minor version
"$WORKSPACE/packaging/rpm/build.py" --build-latest-snap \