Remove RPATH from certain shared object files
This commit is contained in:
parent
26e3a4a412
commit
bf12251ecc
26
scipy.spec
26
scipy.spec
@ -15,7 +15,7 @@
|
|||||||
Summary: Scientific Tools for Python
|
Summary: Scientific Tools for Python
|
||||||
Name: scipy
|
Name: scipy
|
||||||
Version: 1.6.2
|
Version: 1.6.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
# BSD -- whole package except:
|
# BSD -- whole package except:
|
||||||
# Boost -- scipy/special/cephes/scipy_iv.c
|
# Boost -- scipy/special/cephes/scipy_iv.c
|
||||||
@ -109,8 +109,6 @@ for PY in %{python3_version}; do
|
|||||||
%else
|
%else
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
%endif
|
%endif
|
||||||
OPENBLAS=%{_libdir} \
|
|
||||||
FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
|
|
||||||
%{_bindir}/python$PY setup.py config_fc \
|
%{_bindir}/python$PY setup.py config_fc \
|
||||||
--fcompiler=gnu95 --noarch \
|
--fcompiler=gnu95 --noarch \
|
||||||
build
|
build
|
||||||
@ -125,25 +123,6 @@ for PY in %{python3_version}; do
|
|||||||
%endif
|
%endif
|
||||||
done
|
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
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
# Some files got ambiguous python shebangs, we fix them after everything else is done
|
# Some files got ambiguous python shebangs, we fix them after everything else is done
|
||||||
@ -193,6 +172,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 23 2021 Nikola Forró <nforro@redhat.com> - 1.6.2-3
|
||||||
|
- Remove RPATH from certain shared object files
|
||||||
|
|
||||||
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 1.6.2-2
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 1.6.2-2
|
||||||
- Rebuilt for removed libstdc++ symbol (#1937698)
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user