Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package abseil-cpp for openSUSE:Factory 
checked in at 2023-08-30 10:17:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/abseil-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.abseil-cpp.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "abseil-cpp"

Wed Aug 30 10:17:57 2023 rev:30 rq:1105866 version:20230125.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/abseil-cpp/abseil-cpp.changes    2023-06-30 
19:58:38.937563786 +0200
+++ /work/SRC/openSUSE:Factory/.abseil-cpp.new.1766/abseil-cpp.changes  
2023-08-30 10:19:13.577456271 +0200
@@ -1,0 +2,9 @@
+Wed Aug  9 15:18:16 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Fix build on older systems by requiring C++17 compliant compiler
+- Added patch:
+  * cmake.patch
+    + lower the cmake requirement to 3.5 in order to be able to
+      build on SLE12SP5
+
+-------------------------------------------------------------------

New:
----
  cmake.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ abseil-cpp.spec ++++++
--- /var/tmp/diff_new_pack.SfwTa9/_old  2023-08-30 10:19:14.909503808 +0200
+++ /var/tmp/diff_new_pack.SfwTa9/_new  2023-08-30 10:19:14.921504236 +0200
@@ -25,13 +25,20 @@
 URL:            https://abseil.io/
 Source0:        
https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
-BuildRequires:  c++_compiler
+%if 0%{?suse_version} < 1500
+BuildRequires:  gcc7
+BuildRequires:  gcc7-c++
+%else
+BuildRequires:  gcc >= 7
+BuildRequires:  gcc-c++ >= 7
+%endif
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 # PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless 
of compiler options
 %if 0%{?suse_version} < 1550
 Patch0:         options-old.patch
+Patch1:         cmake.patch
 %else
 Patch0:         options-cxx17.patch
 %endif
@@ -64,6 +71,10 @@
 %autosetup -p1
 
 %build
+%if 0%{?suse_version} < 1500
+export CC="gcc-7"
+export CXX="g++-7"
+%endif
 %cmake
 %cmake_build
 

++++++ cmake.patch ++++++
--- abseil-cpp-20230125.3/CMakeLists.txt        2023-08-08 13:05:37.796998429 
+0200
+++ abseil-cpp-20230125.3/CMakeLists.txt        2023-08-08 13:06:11.263885421 
+0200
@@ -16,7 +16,7 @@
 
 # 
https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
 # As of 2022-09-06, CMake 3.10 is the minimum supported version.
-cmake_minimum_required(VERSION 3.10)
+cmake_minimum_required(VERSION 3.5)
 
 # Compiler id for Apple Clang is now AppleClang.
 if (POLICY CMP0025)

Reply via email to