Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cgal for openSUSE:Factory checked in at 2023-04-03 17:46:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cgal (Old) and /work/SRC/openSUSE:Factory/.cgal.new.9019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cgal" Mon Apr 3 17:46:02 2023 rev:31 rq:1076831 version:5.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cgal/cgal.changes 2023-03-01 16:14:57.598881501 +0100 +++ /work/SRC/openSUSE:Factory/.cgal.new.9019/cgal.changes 2023-04-03 17:46:04.764831734 +0200 @@ -1,0 +2,5 @@ +Sun Apr 2 09:03:11 UTC 2023 - Carsten Ziepke <kiel...@gmail.com> + +- Use gcc11-c++ for openSUSE Leap, enables building + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cgal.spec ++++++ --- /var/tmp/diff_new_pack.QY1jdB/_old 2023-04-03 17:46:06.269997113 +0200 +++ /var/tmp/diff_new_pack.QY1jdB/_new 2023-04-03 17:46:06.278003312 +0200 @@ -35,7 +35,6 @@ BuildRequires: blas-devel BuildRequires: cmake >= 3.14 BuildRequires: fdupes -BuildRequires: gcc-c++ >= 10.2.1 BuildRequires: glu-devel BuildRequires: gmp-devel BuildRequires: lapack-devel @@ -46,6 +45,12 @@ BuildRequires: xz BuildRequires: zlib-devel Requires: libcgal-devel = %{version} +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +BuildRequires: gcc11-c++ +%else +BuildRequires: gcc-c++ +%endif + %description CGAL provides geometric algorithms in a C++ library. @@ -101,6 +106,10 @@ %setup -q -n CGAL-%{version} -a1 %build +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +export CXX="g++-11" +%endif + %cmake -DCGAL_INSTALL_LIB_DIR=%{_lib} %make_build