Remove RPATH from certain shared object files

Resolves: rhbz#2222717
This commit is contained in:
Charalampos Stratakis 2023-07-14 04:24:04 +02:00
parent c3e8c38416
commit 04e1fdc78b

View File

@ -9,7 +9,7 @@
Summary: Scientific Tools for Python
Name: scipy
Version: 1.3.1
Release: 4%{?dist}
Release: 5%{?dist}
# BSD -- whole package except:
# Boost -- scipy/special/cephes/scipy_iv.c
@ -128,12 +128,6 @@ for PY in %{python3_version}; do
env CFLAGS="$RPM_OPT_FLAGS -lm" \
FFLAGS="$RPM_OPT_FLAGS -fPIC -cpp" \
LDFLAGS="$RPM_LD_FLAGS -shared" \
%ifarch %{openblas_arches}
OPENBLAS=%{_libdir} \
%else
ATLAS=%{_libdir}/atlas \
%endif
FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \
%{_bindir}/python$PY setup.py config_fc \
--fcompiler=gnu95 --noarch \
build
@ -201,6 +195,10 @@ popd
%endif
%changelog
* Fri Jul 14 2023 Charalampos Stratakis <cstratak@redhat.com> - 1.3.1-5
- Remove RPATH from certain shared object files
- Resolves: rhbz#2222717
* Thu Dec 12 2019 Tomas Orsava <torsava@redhat.com> - 1.3.1-4
- Exclude unsupported i686 arch