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