do_cmake.sh: support Fedora 43+ with Python 3.14

Fedora 43 changes system Python version to 3.14. Update do_cmake.sh

Tested on Fedora Rawhide as of Jan 1 2026

Ref: https://fedoraproject.org/wiki/Changes/Python3.14

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
This commit is contained in:
Dmitrii Sharshakov 2026-01-01 13:29:26 +01:00
parent 284ce91772
commit d44e67cdc5

View File

@ -19,7 +19,9 @@ if [ -r /etc/os-release ]; then
source /etc/os-release
case "$ID" in
fedora)
if [ "$VERSION_ID" -ge "41" ] ; then
if [ "$VERSION_ID" -ge "43" ] ; then
PYBUILD="3.14"
elif [ "$VERSION_ID" -ge "41" ] ; then
PYBUILD="3.13"
elif [ "$VERSION_ID" -ge "39" ] ; then
PYBUILD="3.12"