From c616026631bc8a9b91df3e7a95e9ee76fa652117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Mon, 26 Apr 2021 15:36:36 +0200 Subject: [PATCH] Remove RPATH from certain shared object files - related: #1945060 --- scipy.spec | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/scipy.spec b/scipy.spec index a5b21a6..2cc07d2 100644 --- a/scipy.spec +++ b/scipy.spec @@ -15,7 +15,7 @@ Summary: Scientific Tools for Python Name: scipy Version: 1.6.2 -Release: 3%{?dist} +Release: 4%{?dist} # BSD -- whole package except: # Boost -- scipy/special/cephes/scipy_iv.c @@ -108,8 +108,6 @@ for PY in %{python3_version}; do %else FFLAGS="$RPM_OPT_FLAGS -fPIC" \ %endif - OPENBLAS=%{_libdir} \ - FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \ %{_bindir}/python$PY setup.py config_fc \ --fcompiler=gnu95 --noarch \ build @@ -124,25 +122,6 @@ for PY in %{python3_version}; do %endif done -# FIXME: shared objects built from Fortran sources contain RPATH, find a way to prevent that -# scipy/integrate/_odepack -# scipy/integrate/_quadpack -# scipy/integrate/_test_odeint_banded -# scipy/integrate/lsoda -# scipy/integrate/vode -# scipy/linalg/_fblas -# scipy/linalg/_flapack -# scipy/linalg/_flinalg -# scipy/linalg/_interpolative -# scipy/linalg/cython_blas -# scipy/linalg/cython_lapack -# scipy/odr/__odrpack -# scipy/optimize/_lbfgsb -# scipy/sparse/linalg/eigen/arpack/_arpack -# scipy/sparse/linalg/isolve/_iterative -# scipy/special/_ufuncs -# scipy/special/cython_special - %install %py3_install # Some files got ambiguous python shebangs, we fix them after everything else is done @@ -192,6 +171,10 @@ popd %endif %changelog +* Mon Apr 26 2021 Nikola Forró - 1.6.2-4 +- Remove RPATH from certain shared object files + related: #1945060 + * Fri Apr 16 2021 Mohan Boddu - 1.6.2-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937