Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package surgescript for openSUSE:Factory checked in at 2023-01-28 18:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/surgescript (Old) and /work/SRC/openSUSE:Factory/.surgescript.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "surgescript" Sat Jan 28 18:44:15 2023 rev:4 rq:1061606 version:0.5.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/surgescript/surgescript.changes 2022-12-18 20:04:07.472226187 +0100 +++ /work/SRC/openSUSE:Factory/.surgescript.new.32243/surgescript.changes 2023-01-28 19:04:49.749214068 +0100 @@ -1,0 +2,5 @@ +Fri Jan 27 17:17:01 UTC 2023 - Carsten Ziepke <[email protected]> + +- Fix building for openSUSE Leap: using gcc11-c++ + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ surgescript.spec ++++++ --- /var/tmp/diff_new_pack.KC8Kj2/_old 2023-01-28 19:04:50.117216097 +0100 +++ /var/tmp/diff_new_pack.KC8Kj2/_new 2023-01-28 19:04:50.121216119 +0100 @@ -1,7 +1,7 @@ # # spec file for package surgescript # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2020 Artur Iwicki <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -26,8 +26,13 @@ URL: https://opensurge2d.org Source0: https://github.com/alemart/surgescript/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake -BuildRequires: gcc-c++ BuildRequires: pkgconfig +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +BuildRequires: gcc11 +BuildRequires: gcc11-c++ +%else +BuildRequires: gcc-c++ +%endif %description SurgeScript is a scripting language for games. It has been designed @@ -71,6 +76,11 @@ %setup -q %build +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +export CC="gcc-11" +export CXX="g++-11" +%endif + %cmake \ -DWANT_SHARED=YES \ -DWANT_STATIC=NO \
