From 8adf0e193bee05d4b98375e22f117e975a43814a6a60980d4f82f41898fc9c8e Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 5 Dec 2024 14:58:31 +0100 Subject: [PATCH] fix build with python3.13 --- nodejs22.changes | 5 +++++ nodejs22.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/nodejs22.changes b/nodejs22.changes index 7a8df76..954d588 100644 --- a/nodejs22.changes +++ b/nodejs22.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 5 13:53:22 UTC 2024 - Adam Majer + +- add python3-setuptools requirements (needed for python 3.13+) + ------------------------------------------------------------------- Wed Nov 20 10:04:23 UTC 2024 - Adam Majer diff --git a/nodejs22.spec b/nodejs22.spec index c896c33..14479d4 100644 --- a/nodejs22.spec +++ b/nodejs22.spec @@ -195,10 +195,10 @@ BuildRequires: config(netcfg) %if 0%{?suse_version} == 1110 # GCC 5 is only available in the SUSE:SLE-11:SP4:Update repository (SDK). %if %node_version_number >= 8 -BuildRequires: gcc5-c++ +BuildRequires: gcc5-c++ %define forced_gcc_version 5 %else -BuildRequires: gcc48-c++ +BuildRequires: gcc48-c++ %define forced_gcc_version 4.8 %endif %endif @@ -208,15 +208,15 @@ BuildRequires: gcc48-c++ # for SLE-12:Update targets %if 0%{?suse_version} == 1315 %if %node_version_number >= 17 -BuildRequires: gcc12-c++ +BuildRequires: gcc12-c++ %define forced_gcc_version 12 %else %if %node_version_number >= 14 -BuildRequires: gcc9-c++ +BuildRequires: gcc9-c++ %define forced_gcc_version 9 %else %if %node_version_number >= 8 -BuildRequires: gcc7-c++ +BuildRequires: gcc7-c++ %define forced_gcc_version 7 %endif %endif @@ -225,7 +225,7 @@ BuildRequires: gcc7-c++ %if 0%{?suse_version} == 1500 %if %node_version_number >= 17 -BuildRequires: gcc12-c++ +BuildRequires: gcc12-c++ %define forced_gcc_version 12 %endif %endif @@ -251,6 +251,7 @@ BuildRequires: python311 %endif %if %{?suse_version} > 1500 BuildRequires: python3 +BuildRequires: python3-setuptools %endif %endif