diff --git a/SuiteSparse-5.10.1.tar.gz b/suitesparse-5.13.0.tar.gz similarity index 78% rename from SuiteSparse-5.10.1.tar.gz rename to suitesparse-5.13.0.tar.gz index 6131612..5b3ad67 100644 Binary files a/SuiteSparse-5.10.1.tar.gz and b/suitesparse-5.13.0.tar.gz differ diff --git a/suitesparse.spec b/suitesparse.spec index d9ce9d3..a0d29f7 100644 --- a/suitesparse.spec +++ b/suitesparse.spec @@ -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 - 5.13.0-1 +- Update to 5.13.0 + * Fri Mar 03 2023 Ge Wang - 5.10.1-2 - Remove rpath