remove rpath
(cherry picked from commit 6ce3a7781545a3d097a42eb3f316e4d4c134ad73)
This commit is contained in:
parent
e17b1f251d
commit
b046a3432b
@ -1,11 +1,11 @@
|
|||||||
Name: suitesparse
|
Name: suitesparse
|
||||||
Version: 5.10.1
|
Version: 5.10.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Sparse Matrix Collection
|
Summary: Sparse Matrix Collection
|
||||||
License: (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+
|
License: (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+
|
||||||
URL: http://faculty.cse.tamu.edu/davis/suitesparse.html
|
URL: http://faculty.cse.tamu.edu/davis/suitesparse.html
|
||||||
Source0: http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-%{version}.tar.gz
|
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
|
Obsoletes: umfpack <= 5.0.1 ufsparse <= 2.1.1
|
||||||
Provides: ufsparse = %{version}-%{release}
|
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 Include/*.{h,hpp} ${RPM_BUILD_ROOT}%{_includedir}/%{name}/
|
||||||
cp -a Lib/*.a */Lib/*.a lib/*.so* ${RPM_BUILD_ROOT}%{_libdir}/
|
cp -a Lib/*.a */Lib/*.a lib/*.so* ${RPM_BUILD_ROOT}%{_libdir}/
|
||||||
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/*.so.*
|
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/*.so.*
|
||||||
|
chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so.*
|
||||||
rm -rf Licenses
|
rm -rf Licenses
|
||||||
mkdir Licenses
|
mkdir Licenses
|
||||||
find */ -iname lesser.txt -o -iname lesserv3.txt -o -iname license.txt -o \
|
find */ -iname lesser.txt -o -iname lesserv3.txt -o -iname license.txt -o \
|
||||||
@ -219,6 +220,9 @@ done
|
|||||||
%doc Doc/*
|
%doc Doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 03 2023 Ge Wang <wangge20@h-partners.com> - 5.10.1-2
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Thu May 19 2022 baizhonggui <baizhonggui@h-partners.com> - 5.10.1-1
|
* Thu May 19 2022 baizhonggui <baizhonggui@h-partners.com> - 5.10.1-1
|
||||||
- Upgrade to version 5.10.1
|
- Upgrade to version 5.10.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user