From b046a3432beb46b602d4e23e0aebd11e52a08eb2 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Fri, 3 Mar 2023 14:48:17 +0800 Subject: [PATCH] remove rpath (cherry picked from commit 6ce3a7781545a3d097a42eb3f316e4d4c134ad73) --- suitesparse.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/suitesparse.spec b/suitesparse.spec index 29ddd93..d9ce9d3 100644 --- a/suitesparse.spec +++ b/suitesparse.spec @@ -1,11 +1,11 @@ Name: suitesparse Version: 5.10.1 -Release: 1 +Release: 2 Summary: Sparse Matrix Collection License: (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+ URL: http://faculty.cse.tamu.edu/davis/suitesparse.html Source0: http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-%{version}.tar.gz -BuildRequires: gcc-c++ openblas-devel tbb-devel hardlink lapack-devel openblas-devel metis-devel +BuildRequires: gcc-c++ openblas-devel tbb-devel hardlink lapack-devel openblas-devel metis-devel chrpath Obsoletes: umfpack <= 5.0.1 ufsparse <= 2.1.1 Provides: ufsparse = %{version}-%{release} @@ -181,6 +181,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/%{name} cp -a Include/*.{h,hpp} ${RPM_BUILD_ROOT}%{_includedir}/%{name}/ cp -a Lib/*.a */Lib/*.a lib/*.so* ${RPM_BUILD_ROOT}%{_libdir}/ chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/*.so.* +chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so.* rm -rf Licenses mkdir Licenses find */ -iname lesser.txt -o -iname lesserv3.txt -o -iname license.txt -o \ @@ -219,6 +220,9 @@ done %doc Doc/* %changelog +* Fri Mar 03 2023 Ge Wang - 5.10.1-2 +- Remove rpath + * Thu May 19 2022 baizhonggui - 5.10.1-1 - Upgrade to version 5.10.1