Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openttd for openSUSE:Factory checked in at 2022-04-08 22:45:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openttd (Old) and /work/SRC/openSUSE:Factory/.openttd.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openttd" Fri Apr 8 22:45:27 2022 rev:48 rq:967615 version:12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/openttd/openttd.changes 2022-04-03 21:31:12.947669851 +0200 +++ /work/SRC/openSUSE:Factory/.openttd.new.1900/openttd.changes 2022-04-08 22:45:30.483279459 +0200 @@ -1,0 +2,5 @@ +Thu Apr 7 16:25:43 UTC 2022 - Carsten Ziepke <kiel...@gmail.com> + +- Fix building for openSUSE Leap, using gcc10-c++ + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openttd.spec ++++++ --- /var/tmp/diff_new_pack.1S2JSY/_old 2022-04-08 22:45:31.135272222 +0200 +++ /var/tmp/diff_new_pack.1S2JSY/_new 2022-04-08 22:45:31.139272178 +0200 @@ -31,7 +31,11 @@ BuildRequires: SDL-devel BuildRequires: cmake BuildRequires: fdupes +%if 0%{?suse_version} <= 1500 +BuildRequires: gcc10-c++ +%else BuildRequires: gcc-c++ >= 8.1 +%endif BuildRequires: hicolor-icon-theme BuildRequires: libpng-devel BuildRequires: pkgconfig @@ -109,6 +113,11 @@ sed -i "s/__DATE__.*__TIME__/\"${SOURCE_DATE_EPOCH}\"/" src/rev.cpp.in %build +%if 0%{?suse_version} <= 1500 +export CXX=g++-10 +%else +export CXX=g++ +%endif # first, we build the dedicated binary inside dedicated/ %define __builddir dedicated %cmake -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_DATADIR="share" -DOPTION_DEDICATED:BOOL=ON