From e94f7a20d679602f3a82bb65ea6ed34439ade0097065f81423c40c7aefb24141 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Tue, 26 Aug 2025 12:21:02 +0200 Subject: [PATCH] Disable python bindings for Leap 16.0 python3.13 is not supported by the current virtualbox version so we can't build the bindings. --- virtualbox.changes | 7 +++++++ virtualbox.spec | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/virtualbox.changes b/virtualbox.changes index 09e086f..a26da56 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Aug 26 10:21:54 UTC 2025 - Daniel Garcia + +- Disable python bindings for Leap 16.0 (bsc#1248418) + python3.13 is not supported by the current virtualbox version so + we can't build the bindings. + ------------------------------------------------------------------- Fri Aug 15 14:46:51 UTC 2025 - Jan Engelhardt diff --git a/virtualbox.spec b/virtualbox.spec index 3e12b64..ef21c26 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -55,7 +55,14 @@ %endif # If you want to disable building Python parts, just set this to %%nil +%if 0%{?suse_version} == 1600 +# Leap 16.0 has python3.13, currently not supported +%global mypython %nil +%else +# Using python3.11 for Factory, current version doesn't support python3.13 %global mypython python311 +%endif + %if "%mypython" != "" %global __mypython %{expand:%%__%{mypython}} %global mypython_sitelib %{expand:%%%{mypython}_sitelib} -- 2.51.1