!58 [sync] PR-57: delete rpath
From: @openeuler-sync-bot Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
088928ad1f
11
numpy.spec
11
numpy.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: numpy
|
Name: numpy
|
||||||
Version: 1.21.4
|
Version: 1.21.4
|
||||||
Release: 5
|
Release: 6
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A fast multidimensional array facility for Python
|
Summary: A fast multidimensional array facility for Python
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ Source0: https://files.pythonhosted.org/packages/fb/48/b0708ebd7718a8933f
|
|||||||
|
|
||||||
BuildRequires: openblas-devel
|
BuildRequires: openblas-devel
|
||||||
BuildRequires: lapack-devel gcc-gfortran
|
BuildRequires: lapack-devel gcc-gfortran
|
||||||
BuildRequires: python3-Cython >= 0.29.24
|
BuildRequires: python3-Cython >= 0.29.24 chrpath
|
||||||
|
|
||||||
Patch0: backport-CVE-2021-41496.patch
|
Patch0: backport-CVE-2021-41496.patch
|
||||||
Patch1: backport-CVE-2021-41495.patch
|
Patch1: backport-CVE-2021-41495.patch
|
||||||
@ -85,6 +85,10 @@ env OPENBLAS=%{_libdir} \
|
|||||||
%{__python3} setup.py install --root %{buildroot}
|
%{__python3} setup.py install --root %{buildroot}
|
||||||
pushd %{buildroot}%{_bindir} &> /dev/null
|
pushd %{buildroot}%{_bindir} &> /dev/null
|
||||||
|
|
||||||
|
chrpath --delete %{buildroot}%{python3_sitearch}/%{name}/core/_multiarray_umath.*.so
|
||||||
|
chrpath --delete %{buildroot}%{python3_sitearch}/%{name}/linalg/lapack_lite.*.so
|
||||||
|
chrpath --delete %{buildroot}%{python3_sitearch}/%{name}/linalg/_umath_linalg.*.so
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd doc &> /dev/null
|
pushd doc &> /dev/null
|
||||||
PYTHONPATH="%{buildroot}%{python3_sitearch}" PYTHONDONTWRITEBYTECODE=1 \
|
PYTHONPATH="%{buildroot}%{python3_sitearch}" PYTHONDONTWRITEBYTECODE=1 \
|
||||||
@ -107,6 +111,9 @@ popd &> /dev/null
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 17 2023 wulei <wulei80@h-partners.com> - 1:1.21.4-6
|
||||||
|
- Delete rpath
|
||||||
|
|
||||||
* Mon Nov 14 2022 zhaozhen <zhaozhen@loongson.cn> - 1.21.4-5
|
* Mon Nov 14 2022 zhaozhen <zhaozhen@loongson.cn> - 1.21.4-5
|
||||||
- Type:feature
|
- Type:feature
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user