Adapt %suse_version checks, jsc#PED-15851

Adapt %suse_version checks to support new %suse_version design for
16.1 and following (1610, 1620, 1630...)
This commit was merged in pull request #2.
This commit is contained in:
2026-03-04 14:03:13 +01:00
parent a667dcdda9
commit 17ea692e8e
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 4 13:02:48 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Adapt %suse_version checks to support new %suse_version design for
16.1 and following (1610, 1620, 1630...)
-------------------------------------------------------------------
Thu Feb 5 17:26:23 UTC 2026 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -61,7 +61,7 @@
%endif
# No experimental_jit in SLES, there's no clang >=19
%if 0%{?suse_version} <= 1600
%if 0%{?suse_version} < 1699
%bcond_with experimental_jit
%else
# Doesnt work with GIL support disabled
@@ -80,7 +80,7 @@
# Only for Tumbleweed
# https://en.opensuse.org/openSUSE:Python:Externally_managed
%if 0%{?suse_version} > 1600
%if 0%{?suse_version} >= 1699
%bcond_without externally_managed
%else
%bcond_with externally_managed