SHA256
1
0
forked from pool/nodejs22

fix build on SLE15

This commit is contained in:
Adam Majer 2024-11-20 11:08:20 +01:00
parent 3881af0f5a
commit 5ddc713fa1
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 20 10:04:23 UTC 2024 - Adam Majer <adam.majer@suse.de>
- BuildRequire python311 for SLE15
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 18 12:02:26 UTC 2024 - Adam Majer <adam.majer@suse.de> Mon Nov 18 12:02:26 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -240,12 +240,18 @@ BuildRequires: gcc-c++
# Python dependencies # Python dependencies
%if %node_version_number >= 14 %if %node_version_number >= 14
%if 0%{?suse_version} && 0%{?suse_version} < 1500 %if 0%{?suse_version}
%if 0%{?suse_version} < 1500
BuildRequires: python36 BuildRequires: python36
%define forced_python_version 3.6m %define forced_python_version 3.6m
%else %endif
%if %{?suse_version} == 1500
BuildRequires: python311
%endif
%if %{?suse_version} > 1500
BuildRequires: python3 BuildRequires: python3
%endif %endif
%endif
%else %else
%if %node_version_number >= 12 %if %node_version_number >= 12