- Don't use %elif, it is supported only from rpm 4.15.0, which is

not in SLE-15.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=98
This commit is contained in:
2025-05-28 09:47:26 +00:00
committed by Git OBS Bridge
parent 487ae82f04
commit 6d5d3f96b0
2 changed files with 19 additions and 12 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 28 09:46:40 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Don't use %elif, it is supported only from rpm 4.15.0, which is
not in SLE-15.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 16 13:44:12 UTC 2025 - Matej Cepl <mcepl@cepl.eu> Fri May 16 13:44:12 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -83,19 +83,20 @@
# No experimental_jit in SLES, there's no clang >=18 # No experimental_jit in SLES, there's no clang >=18
%if 0%{?suse_version} <= 1600 %if 0%{?suse_version} <= 1600
%bcond_with experimental_jit %bcond_with experimental_jit
# Disable experimental_jit for primary python.
# llvm is not part of ring0 and experimental_jit requires clang >= 18
%elif !%{primary_interpreter}
# Currently supported architectures
# https://peps.python.org/pep-0744/#support
%ifarch x86_64 %{x86_64} aarch64
%bcond_without experimental_jit
%else %else
%bcond_with experimental_jit # Disable experimental_jit for primary python.
%endif # llvm is not part of ring0 and experimental_jit requires clang >= 18
%if !%{primary_interpreter}
%else # Currently supported architectures
%bcond_with experimental_jit # https://peps.python.org/pep-0744/#support
%ifarch x86_64 %{x86_64} aarch64
%bcond_without experimental_jit
%else
%bcond_with experimental_jit
%endif
%else
%bcond_with experimental_jit
%endif
%endif %endif
# %%if 0%%{?sle_version} && 0%%{?suse_version} < 1550 # %%if 0%%{?sle_version} && 0%%{?suse_version} < 1550