Use proper LDFLAGS

- related: #1945060
This commit is contained in:
Nikola Forró 2021-05-13 12:45:50 +02:00
parent c616026631
commit 0262ac5e30

View File

@ -15,7 +15,7 @@
Summary: Scientific Tools for Python
Name: scipy
Version: 1.6.2
Release: 4%{?dist}
Release: 5%{?dist}
# BSD -- whole package except:
# Boost -- scipy/special/cephes/scipy_iv.c
@ -108,6 +108,7 @@ for PY in %{python3_version}; do
%else
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
%endif
LDFLAGS="%{__global_ldflags}" \
%{_bindir}/python$PY setup.py config_fc \
--fcompiler=gnu95 --noarch \
build
@ -171,6 +172,10 @@ popd
%endif
%changelog
* Thu May 13 2021 Nikola Forró <nforro@redhat.com> - 1.6.2-5
- Use proper LDFLAGS
related: #1945060
* Mon Apr 26 2021 Nikola Forró <nforro@redhat.com> - 1.6.2-4
- Remove RPATH from certain shared object files
related: #1945060