Remove RPATH from certain shared object files
Resolves: rhbz#2213056
This commit is contained in:
parent
c3098b8f39
commit
6c537e6f7d
18
scipy.spec
18
scipy.spec
@ -16,7 +16,7 @@
|
||||
Summary: Scientific Tools for Python
|
||||
Name: scipy
|
||||
Version: 1.0.0
|
||||
Release: 21%{?dist}
|
||||
Release: 22%{?dist}
|
||||
|
||||
Group: Development/Libraries
|
||||
# BSD -- whole package except:
|
||||
@ -172,12 +172,6 @@ EOF
|
||||
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} \
|
||||
%__python3 setup.py config_fc \
|
||||
--fcompiler=gnu95 --noarch \
|
||||
%if 0%{?with_doc}
|
||||
@ -193,12 +187,6 @@ env CFLAGS="$RPM_OPT_FLAGS -lm" \
|
||||
env CFLAGS="$RPM_OPT_FLAGS" \
|
||||
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} \
|
||||
%__python2 setup.py config_fc \
|
||||
--fcompiler=gnu95 --noarch \
|
||||
%if 0%{?with_doc}
|
||||
@ -289,6 +277,10 @@ popd
|
||||
%endif # with python3
|
||||
|
||||
%changelog
|
||||
* Fri Jul 14 2023 Charalampos Stratakis <cstratak@redhat.com> - 1.0.0-22
|
||||
- Remove RPATH from certain shared object files
|
||||
- Resolves: rhbz#2213056
|
||||
|
||||
* Thu Mar 04 2021 Nikola Forró <nforro@redhat.com> - 1.0.0-21
|
||||
- Do not create -PYTEST.pyc files
|
||||
- Resolves: rhbz#1934199
|
||||
|
Loading…
Reference in New Issue
Block a user