forked from pool/python313
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -83,19 +83,20 @@
|
||||
# No experimental_jit in SLES, there's no clang >=18
|
||||
%if 0%{?suse_version} <= 1600
|
||||
%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
|
||||
%bcond_with experimental_jit
|
||||
%endif
|
||||
|
||||
%else
|
||||
%bcond_with experimental_jit
|
||||
# Disable experimental_jit for primary python.
|
||||
# llvm is not part of ring0 and experimental_jit requires clang >= 18
|
||||
%if !%{primary_interpreter}
|
||||
# Currently supported architectures
|
||||
# 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
|
||||
|
||||
# %%if 0%%{?sle_version} && 0%%{?suse_version} < 1550
|
||||
|
||||
Reference in New Issue
Block a user