Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scipy for openSUSE:Factory 
checked in at 2023-07-05 15:30:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scipy (Old)
 and      /work/SRC/openSUSE:Factory/.python-scipy.new.23466 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scipy"

Wed Jul  5 15:30:32 2023 rev:64 rq:1096504 version:1.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes        
2023-03-11 18:24:35.139051224 +0100
+++ /work/SRC/openSUSE:Factory/.python-scipy.new.23466/python-scipy.changes     
2023-07-05 15:30:34.850573704 +0200
@@ -1,0 +2,6 @@
+Thu Jun 29 07:21:08 UTC 2023 - Andreas Schneider <a...@cryptomilk.org>
+
+- Use sle15_python_module_pythons
+- Require GCC >= 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-scipy.spec ++++++
--- /var/tmp/diff_new_pack.CcETdq/_old  2023-07-05 15:30:35.966580326 +0200
+++ /var/tmp/diff_new_pack.CcETdq/_new  2023-07-05 15:30:35.974580373 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?sle15_python_module_pythons}
 %global flavor @BUILD_FLAVOR@%{nil}
 %define _ver 1_10_1
 %define shortname scipy
@@ -123,8 +124,14 @@
 %endif
 %if %{without hpc}
 BuildRequires:  %{python_module numpy-devel >= 1.18.5}
-BuildRequires:  gcc-c++
-BuildRequires:  gcc-fortran
+%if 0%{?sle_version} && 0%{?sle_version} <= 150500
+# The default gcc on SLE15 is gcc7 we need something newer
+BuildRequires:  gcc10-c++
+BuildRequires:  gcc10-fortran
+%else
+BuildRequires:  gcc-c++ >= 8
+BuildRequires:  gcc-fortran >= 8
+%endif
 Requires:       python-numpy >= 1.18.5
 Requires:       python-pybind11 >= 2.4.3
 Suggests:       python-pooch
@@ -173,6 +180,12 @@
 
 %if !%{with test}
 %build
+%if 0%{?sle_version} && 0%{?sle_version} <= 150500
+# We need gcc >= 8 for SLE15
+export CC=gcc-10
+export CXX=g++-10
+export FC=gfortran-10
+%endif
 # makes sure that the cython and pythran commands from the correct flavor are 
in PATH
 %python_flavored_alternatives
 %{python_expand #

Reply via email to