Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apache-arrow for openSUSE:Factory 
checked in at 2024-10-27 11:25:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-arrow (Old)
 and      /work/SRC/openSUSE:Factory/.apache-arrow.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-arrow"

Sun Oct 27 11:25:51 2024 rev:15 rq:1218457 version:17.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-arrow/apache-arrow.changes        
2024-09-22 11:06:08.740913237 +0200
+++ /work/SRC/openSUSE:Factory/.apache-arrow.new.2020/apache-arrow.changes      
2024-10-27 11:26:18.440971987 +0100
@@ -1,0 +2,6 @@
+Fri Sep 27 05:31:41 UTC 2024 - Guang Yee <g...@suse.com>
+
+- Set the appropriate C++ complier for the given platform so
+  it will compile on Leap 15.x. 
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/apache-arrow/python-pyarrow.changes      
2024-08-16 12:24:16.908607615 +0200
+++ /work/SRC/openSUSE:Factory/.apache-arrow.new.2020/python-pyarrow.changes    
2024-10-27 11:26:18.540976133 +0100
@@ -1,0 +2,5 @@
+Thu Sep 26 23:24:22 UTC 2024 - Guang Yee <g...@suse.com>
+
+- Enable sle15_python_module_pythons. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apache-arrow.spec ++++++
--- /var/tmp/diff_new_pack.9xa6bQ/_old  2024-10-27 11:26:19.225004487 +0100
+++ /var/tmp/diff_new_pack.9xa6bQ/_new  2024-10-27 11:26:19.225004487 +0100
@@ -22,6 +22,11 @@
 # Required for runtime dispatch, not yet packaged
 %bcond_with xsimd
 
+%if %{suse_version} <= 1500
+# requires __has_builtin with keywords
+%define gccver 13
+%endif
+
 %define sonum   1700
 # See git submodule /testing pointing to the correct revision
 %define arrow_testing_commit 735ae7128d571398dd798d7ff004adebeb342883
@@ -44,7 +49,7 @@
 BuildRequires:  cmake >= 3.16
 BuildRequires:  fdupes
 BuildRequires:  flex
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?gccver}-c++
 BuildRequires:  libboost_filesystem-devel
 BuildRequires:  libboost_process-devel
 BuildRequires:  libboost_system-devel >= 1.64.0
@@ -332,6 +337,8 @@
 sed -i 's/find_package(Protobuf/find_package(Protobuf CONFIG/' 
cpp/cmake_modules/FindProtobufAlt.cmake
 
 %build
+%{?gccver:export CXX=g++-%{gccver}}
+%{?gccver:export CC=gcc-%{gccver}}
 export CFLAGS="%{optflags} -ffat-lto-objects"
 export CXXFLAGS="%{optflags} -ffat-lto-objects"
 

++++++ python-pyarrow.spec ++++++
--- /var/tmp/diff_new_pack.9xa6bQ/_old  2024-10-27 11:26:19.257005814 +0100
+++ /var/tmp/diff_new_pack.9xa6bQ/_new  2024-10-27 11:26:19.261005980 +0100
@@ -16,10 +16,15 @@
 #
 
 
+%{?sle15_python_module_pythons}
 %bcond_with xsimd
 %define plainpython python
 # See git submodule /testing pointing to the correct revision
 %define arrow_testing_commit 735ae7128d571398dd798d7ff004adebeb342883
+%if %{suse_version} <= 1500
+# requires __has_builtin with keywords
+%define gccver 13
+%endif
 Name:           python-pyarrow
 Version:        17.0.0
 Release:        0
@@ -41,7 +46,7 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  cmake
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?gccver}-c++
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
@@ -98,6 +103,8 @@
 
 %build
 pushd python
+%{?gccver:export CXX=g++-%{gccver}}
+%{?gccver:export CC=gcc-%{gccver}}
 export CFLAGS="%{optflags}"
 export PYARROW_BUILD_TYPE=relwithdebinfo
 export PYARROW_BUILD_VERBOSE=1
@@ -126,6 +133,8 @@
 popd
 
 %check
+%{?gccver:export CXX=g++-%{gccver}}
+%{?gccver:export CC=gcc-%{gccver}}
 export ARROW_TEST_DATA="${PWD}/arrow-testing-%{arrow_testing_commit}/data"
 # flaky tests
 donttest="test_total_bytes_allocated"

Reply via email to