Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package protobuf21 for openSUSE:Factory checked in at 2024-12-05 17:08:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/protobuf21 (Old) and /work/SRC/openSUSE:Factory/.protobuf21.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "protobuf21" Thu Dec 5 17:08:42 2024 rev:4 rq:1228295 version:21.12 Changes: -------- --- /work/SRC/openSUSE:Factory/protobuf21/protobuf21.changes 2024-11-01 21:04:17.686225498 +0100 +++ /work/SRC/openSUSE:Factory/.protobuf21.new.28523/protobuf21.changes 2024-12-05 17:10:39.154648113 +0100 @@ -1,0 +2,6 @@ +Fri Nov 29 06:56:17 UTC 2024 - Fridrich Strba <[email protected]> + +- Fix build on some architectures in SLE15 where the default + compiler gives internal compiler error + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ protobuf21.spec ++++++ --- /var/tmp/diff_new_pack.QzE1pi/_old 2024-12-05 17:10:40.106687981 +0100 +++ /var/tmp/diff_new_pack.QzE1pi/_new 2024-12-05 17:10:40.110688149 +0100 @@ -25,6 +25,9 @@ %bcond_with check %bcond_with java %bcond_with python3 +%if 0%{?gcc_version} < 11 +%define with_gcc 11 +%endif Name: protobuf21 Version: 21.12 Release: 0 @@ -45,7 +48,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: cmake BuildRequires: fdupes -BuildRequires: gcc-c++ +BuildRequires: gcc%{?with_gcc}-c++ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python-rpm-macros @@ -164,9 +167,12 @@ %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%if 0%{?with_gcc} +export CXX=g++-%{with_gcc} +export CC=gcc-%{with_gcc} +%endif %cmake \ -Dprotobuf_BUILD_TESTS=OFF \ - -Dprotobuf_ABSL_PROVIDER=package \ %{nil} %cmake_build
