Remove RPATH from certain shared object files
Resolves: rhbz#2222717
This commit is contained in:
parent
c3e8c38416
commit
04e1fdc78b
12
scipy.spec
12
scipy.spec
@ -9,7 +9,7 @@
|
|||||||
Summary: Scientific Tools for Python
|
Summary: Scientific Tools for Python
|
||||||
Name: scipy
|
Name: scipy
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
# BSD -- whole package except:
|
# BSD -- whole package except:
|
||||||
# Boost -- scipy/special/cephes/scipy_iv.c
|
# Boost -- scipy/special/cephes/scipy_iv.c
|
||||||
@ -128,12 +128,6 @@ for PY in %{python3_version}; do
|
|||||||
env CFLAGS="$RPM_OPT_FLAGS -lm" \
|
env CFLAGS="$RPM_OPT_FLAGS -lm" \
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC -cpp" \
|
FFLAGS="$RPM_OPT_FLAGS -fPIC -cpp" \
|
||||||
LDFLAGS="$RPM_LD_FLAGS -shared" \
|
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 \
|
%{_bindir}/python$PY setup.py config_fc \
|
||||||
--fcompiler=gnu95 --noarch \
|
--fcompiler=gnu95 --noarch \
|
||||||
build
|
build
|
||||||
@ -201,6 +195,10 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 12 2019 Tomas Orsava <torsava@redhat.com> - 1.3.1-4
|
||||||
- Exclude unsupported i686 arch
|
- Exclude unsupported i686 arch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user