remove rpath

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2024-02-19 14:57:52 +08:00
parent 4def0dfa2e
commit 8882cce19f

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