Remove RPATH from certain shared object files

Resolves: rhbz#2222715
This commit is contained in:
Charalampos Stratakis 2023-07-14 04:24:04 +02:00
parent 10d1abef12
commit 800d80bc4e

View File

@ -11,7 +11,7 @@
Summary: Scientific Tools for Python
Name: scipy
Version: 1.5.4
Release: 3%{?dist}
Release: 4%{?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
@ -174,6 +172,10 @@ popd
%endif
%changelog
* Fri Jul 14 2023 Charalampos Stratakis <cstratak@redhat.com> - 1.5.4-4
- Remove RPATH from certain shared object files
- Resolves: rhbz#2222715
* Mon Jan 18 2021 Tomas Orsava <torsava@redhat.com> - 1.5.4-3
- Specify LDFLAGS explicitly
- Force preprocessing of Fortran sources to make annobin record proper flags