Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openlierox for openSUSE:Factory checked in at 2023-01-23 18:31:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openlierox (Old) and /work/SRC/openSUSE:Factory/.openlierox.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openlierox" Mon Jan 23 18:31:52 2023 rev:4 rq:1060319 version:0.58_rc5 Changes: -------- --- /work/SRC/openSUSE:Factory/openlierox/openlierox.changes 2022-05-19 22:50:21.738415043 +0200 +++ /work/SRC/openSUSE:Factory/.openlierox.new.32243/openlierox.changes 2023-01-23 18:32:12.236159982 +0100 @@ -1,0 +2,5 @@ +Sat Jan 21 15:30:24 UTC 2023 - Carsten Ziepke <[email protected]> + +- Fix building for openSUSE Leap: use gcc11 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openlierox.spec ++++++ --- /var/tmp/diff_new_pack.5Nu8ql/_old 2023-01-23 18:32:12.924164744 +0100 +++ /var/tmp/diff_new_pack.5Nu8ql/_new 2023-01-23 18:32:12.928164771 +0100 @@ -1,7 +1,7 @@ # # spec file for package openlierox # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,6 @@ BuildRequires: SDL_mixer-devel BuildRequires: cmake BuildRequires: fdupes -BuildRequires: gcc-c++ BuildRequires: gd-devel BuildRequires: hawknl-devel BuildRequires: hicolor-icon-theme @@ -38,6 +37,12 @@ BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: pkgconfig(sdl) +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +BuildRequires: gcc11 +BuildRequires: gcc11-c++ +%else +BuildRequires: gcc-c++ >= 11 +%endif # for people who try to install this using upstream capitalization Provides: OpenLieroX = %{version}-%{release} @@ -50,6 +55,11 @@ %autosetup -n OpenLieroX %build +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +export CC="gcc-11" +export CXX="g++-11" +%endif + %cmake -DDEBUG=OFF -DBREAKPAD=OFF -DSYSTEM_DATA_DIR=%{_datadir} -DHAWKNL_BUILTIN=ON %make_build
