diff --git a/llvm18.changes b/llvm18.changes index e8246d5..7c009cf 100644 --- a/llvm18.changes +++ b/llvm18.changes @@ -30,6 +30,8 @@ Sat Mar 9 22:37:29 UTC 2024 - Aaron Puchert * llvm-fix-cov-test-i586.patch - Restructure version macros in specfile for new versioning scheme. - Fix packaging of ld.lld as ld alternative. +- Disable LLDB Python bindings on SLE/Leap. They now require Swig 4 + which isn't available there. ------------------------------------------------------------------- Wed Mar 6 03:20:24 UTC 2024 - Michael Gorse diff --git a/llvm18.spec b/llvm18.spec index 37a6c78..65820c5 100644 --- a/llvm18.spec +++ b/llvm18.spec @@ -49,8 +49,13 @@ %ifarch aarch64 x86_64 %bcond_without lldb +%if %{suse_version} > 1600 %bcond_without lldb_python %else +# LLDB Python bindings require Swig 4, which SLE/Leap don't have. +%bcond_with lldb_python +%endif +%else %bcond_with lldb %bcond_with lldb_python %endif