do_cmake: support the ubuntu 26.04 version of python in build script

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2026-04-30 15:48:09 -04:00
parent e16cd9342c
commit b9d9529553

View File

@ -47,7 +47,9 @@ if [ -r /etc/os-release ]; then
;;
ubuntu)
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
if [ "$MAJOR_VER" -ge "24" ] ; then
if [ "$MAJOR_VER" -ge "26" ] ; then
PYBUILD="3.14"
elif [ "$MAJOR_VER" -ge "24" ] ; then
PYBUILD="3.12"
elif [ "$MAJOR_VER" -ge "22" ] ; then
PYBUILD="3.10"