Update to 5.13.0

This commit is contained in:
wu-leilei 2023-10-16 11:18:52 +08:00
parent 3094fb883b
commit da93594f29
2 changed files with 11 additions and 3 deletions

View File

@ -1,10 +1,10 @@
Name: suitesparse
Version: 5.10.1
Release: 2
Version: 5.13.0
Release: 1
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
Source0: https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
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}
@ -58,6 +58,11 @@ done
sed -i -e '/^ CF =/ s/ -O3 -fexceptions//' SuiteSparse_config/SuiteSparse_config.mk
sed -i -e '/SO.*=/s/$(LIBRARY).so/$(LIBRARY)$(LIBRARY_SUFFIX).so/' \
-e '/AR_TARGET *=/s/$(LIBRARY).a/$(LIBRARY)$(LIBRARY_SUFFIX).a/' SuiteSparse_config/SuiteSparse_config.mk
sed -i -e 's/-l\(amd\|btf\|camd\|ccolamd\|cholmod\|colamd\|csparse\|cxsparse\|klu\|ldl\|rbio\|spqr\|suitesparseconfig\|umfpack\)/-l\1$(LIBRARY_SUFFIX)/g' \
$(find -name Makefile\* -o -name \*.mk)
%build
export AUTOCC=no
export CC=gcc
@ -220,6 +225,9 @@ done
%doc Doc/*
%changelog
* Mon Oct 16 2023 wulei <wu_lei@hoperun.com> - 5.13.0-1
- Update to 5.13.0
* Fri Mar 03 2023 Ge Wang <wangge20@h-partners.com> - 5.10.1-2
- Remove rpath