From 0b1b850e197d8bc27ce21e0d3be2ab05ac3d4c9c Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 16 Oct 2023 09:43:57 +0000 Subject: [PATCH] import CS scipy-1.5.4-5.module_el8+639+3fcd10de --- SPECS/scipy.spec | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/SPECS/scipy.spec b/SPECS/scipy.spec index b8847af..11d9e3a 100644 --- a/SPECS/scipy.spec +++ b/SPECS/scipy.spec @@ -11,7 +11,7 @@ Summary: Scientific Tools for Python Name: scipy Version: 1.5.4 -Release: 3%{?dist} +Release: 5%{?dist} # BSD -- whole package except: # Boost -- scipy/special/cephes/scipy_iv.c @@ -112,8 +112,6 @@ for PY in %{python3_version}; do env CFLAGS="$RPM_OPT_FLAGS -lm" \ FFLAGS="$RPM_OPT_FLAGS -fPIC -cpp" \ LDFLAGS="$RPM_LD_FLAGS -shared" \ - OPENBLAS=%{_libdir} \ - FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \ %{_bindir}/python$PY setup.py config_fc \ --fcompiler=gnu95 --noarch \ build @@ -154,6 +152,31 @@ export PYTEST_ADDOPTS="-k '\ not test_pdf_logpdf_weighted'" %endif +# Those tests fail on koji/brew for ppc64le but pass +# locally for that architecture +%ifarch ppc64le +export PYTEST_ADDOPTS="-k '\ + not TestFFTConvolve and \ + not TestDoubleFFT and \ + not TestSingleFFT and \ + not TestDoubleIFFT and \ + not TestSingleIFFT and \ + not test_tpsv and \ + not TestLinear and \ + not test_Mx1_economic and \ + not test_hegst and \ + not test_tpqrt_tpmqrt and \ + not test_pteqr and \ + not test_against_numpy_convolve and \ + not test_convolve_method and \ + not test_rank1 and \ + not test_splu_smoketest and \ + not test_spilu_smoketest and \ + not test_threads_parallel and \ + not test_hermitian and \ + not test_convergence'" +%endif + pushd %{buildroot}/%{python3_sitearch} %{pytest} scipy # Remove test remnants @@ -174,6 +197,14 @@ popd %endif %changelog +* Fri Jul 14 2023 Charalampos Stratakis - 1.5.4-5 +- Skip some tests that fail on the ppc64le builders +- Resolves: rhbz#2217858 + +* Fri Jul 14 2023 Charalampos Stratakis - 1.5.4-4 +- Remove RPATH from certain shared object files +- Resolves: rhbz#2222715 + * Mon Jan 18 2021 Tomas Orsava - 1.5.4-3 - Specify LDFLAGS explicitly - Force preprocessing of Fortran sources to make annobin record proper flags