Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opensurge for openSUSE:Factory checked in at 2022-11-09 12:58:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opensurge (Old) and /work/SRC/openSUSE:Factory/.opensurge.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opensurge" Wed Nov 9 12:58:17 2022 rev:6 rq:1034697 version:0.6.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/opensurge/opensurge.changes 2022-10-04 20:37:57.600936274 +0200 +++ /work/SRC/openSUSE:Factory/.opensurge.new.1597/opensurge.changes 2022-11-09 12:58:27.864695971 +0100 @@ -1,0 +2,5 @@ +Tue Nov 8 17:34:16 UTC 2022 - Carsten Ziepke <kiel...@gmail.com> + +- Fix building for openSUSE Leap: using gcc10 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opensurge.spec ++++++ --- /var/tmp/diff_new_pack.gXEf5Q/_old 2022-11-09 12:58:28.512699625 +0100 +++ /var/tmp/diff_new_pack.gXEf5Q/_new 2022-11-09 12:58:28.520699670 +0100 @@ -27,7 +27,11 @@ BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fdupes +%if 0%{?suse_version} <= 1500 +BuildRequires: gcc10-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: update-desktop-files BuildRequires: cmake(OpenAL) BuildRequires: pkgconfig(allegro-5) @@ -50,6 +54,11 @@ %autosetup %build +%if 0%{?suse_version} <= 1500 +export CC=gcc-10 +export CXX=g++-10 +%endif + %cmake \ -DGAME_BINDIR="%{_bindir}" \ -DGAME_DATADIR="%{_datadir}/%{name}"