!9 remove rpath

From: @cherry530 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2024-02-19 07:27:11 +00:00 committed by Gitee
commit 8e8a917247
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,11 +1,12 @@
Name: SuperLU
Version: 6.0.1
Release: 1
Release: 2
Summary: Library for the direct solution of large, sparse, nonsymmetric systems of linear equations
License: BSD and GPLv2+
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
Source0: https://github.com/xiaoyeli/superlu/archive/v%{version}/superlu-%{version}.tar.gz
BuildRequires: openblas-devel openblas-srpm-macros cmake3 gcc-gfortran csh
BuildRequires: chrpath
Patch0001: superlu-removemc64.patch
%description
@ -45,6 +46,7 @@ mkdir -p build && cd build
%install
%make_install -C build
chrpath -d %{buildroot}%{_libdir}/libsuperlu.so.6*
%check
cd build
@ -68,6 +70,9 @@ cd -
%doc DOC EXAMPLE FORTRAN
%changelog
* Mon Feb 19 2024 xu_ping <707078654@qq.com> - 6.0.1-2
- Remove rpath
* Tue Sep 26 2023 xu_ping <707078654@qq.com> - 6.0.1-1
- Upgrade version to 6.0.1