Hello community, here is the log from the commit of package python-scipy for openSUSE:Factory checked in at 2020-03-27 00:27:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scipy (Old) and /work/SRC/openSUSE:Factory/.python-scipy.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scipy" Fri Mar 27 00:27:07 2020 rev:41 rq:786340 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes 2020-01-16 18:16:37.900818379 +0100 +++ /work/SRC/openSUSE:Factory/.python-scipy.new.3160/python-scipy.changes 2020-03-27 00:27:09.780313504 +0100 @@ -1,0 +2,13 @@ +Thu Mar 19 08:05:49 UTC 2020 - Martin Liška <[email protected]> + +- Add -std=legacy in order to build with GCC10: + https://gcc.gnu.org/gcc-10/porting_to.html#argument-mismatch + +------------------------------------------------------------------- +Mon Mar 16 13:51:18 UTC 2020 - Egbert Eich <[email protected]> + +- 'umpfack' is a runtime dependency of scipy. No build time + dependency to suitesparse is required (jsc#SLE-11732). +- Get rid of site.cfg entirely as it is used nowhwere in scipy. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scipy.spec ++++++ --- /var/tmp/diff_new_pack.94F5jN/_old 2020-03-27 00:27:10.736313988 +0100 +++ /var/tmp/diff_new_pack.94F5jN/_new 2020-03-27 00:27:10.740313990 +0100 @@ -84,11 +84,6 @@ %define p_bindir %hpc_bindir %endif -%if 0%{?is_opensuse} == 0 - %bcond_with suitesparse -%else - %bcond_without suitesparse -%endif %define skip_python2 1 Name: %{package_name} Version: 1.4.1 @@ -108,9 +103,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with suitesparse} -BuildRequires: suitesparse-devel-static -%endif BuildRequires: swig %if %{without hpc} BuildRequires: gcc-c++ @@ -151,32 +143,15 @@ %patch0 -p1 find . -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \; -cat > site.cfg << EOF -[amd] -library_dirs = %{_libdir} -include_dirs = %{_includedir}/suitesparse:%{_includedir}/ufsparse -amd_libs = amd - -[umfpack] -library_dirs = %{_libdir} -include_dirs = %{_includedir}/suitesparse:%{_includedir}/ufsparse -umfpack_libs = umfpack -EOF - %build %{python_expand # +export FFLAGS="-std=legacy" %if %{with hpc} py_ver=%{$python_version} %hpc_setup module load python${py_ver/.*/}-numpy export CFLAGS="$(pkg-config --cflags openblas) %{optflags} -fno-strict-aliasing" LIBS="$(pkg-config --libs openblas)" export OPENBLAS=$OPENBLAS_LIB -cat > site.cfg <<EOF -[openblas] -libraries = openblas -library_dirs = $OPENBLAS_LIB -include_dirs = $OPENBLAS_INC -EOF %else export CFLAGS="%{optflags} -fno-strict-aliasing" export BLAS=%{_libdir}
