Fix the check for minor version when disabling wasi-sdk

This commit is contained in:
eabdullin 2026-05-29 12:50:51 +03:00
parent 9cb00c09d1
commit d9534e7b1a

View File

@ -7,6 +7,16 @@ actions:
BuildRequires: gcc-toolset-%{gts_version}-gcc-plugin-annobin
BuildRequires: gcc-toolset-%{gts_version}-gcc-c++
count: 1
- target: "spec"
find: |
# newer llvm requires newer wasi - we're going to fix it in the rebase to 152 esr
%if %{rhel_minor_version} >= 9
%global with_wasi_sdk 0
replace: |
# newer llvm requires newer wasi - we're going to fix it in the rebase to 152 esr
%if %{rhel_minor_version} >= 8
%global with_wasi_sdk 0
count: 1
- modify_release:
@ -18,3 +28,4 @@ actions:
email: "eabdullin@almalinux.org"
line:
- "Add gcc-toolset-%{gts_version}-gcc-c++ to BR"
- "Fix the check for minor version when disabling wasi-sdk"