From 33cb744e8c78f174831c9b475f5400841625fb43 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Sun, 31 Mar 2024 17:00:29 +0200 Subject: [PATCH] Build against Flexiblas in EPEL9 (rhbz#2257325) --- SuperLU.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/SuperLU.spec b/SuperLU.spec index 5d8ad0e..a0d162c 100644 --- a/SuperLU.spec +++ b/SuperLU.spec @@ -2,9 +2,9 @@ Name: SuperLU Version: 6.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Subroutines to solve sparse linear systems -License: BSD and GPLv2+ +License: BSD-2-Clause and GPL-2.0-or-later URL: https://portal.nersc.gov/project/sparse/superlu/ Source0: https://github.com/xiaoyeli/superlu/archive/v%{version}/%{genname}-%{version}.tar.gz @@ -20,7 +20,7 @@ Patch2: %{name}-c99.patch Patch3: %{name}-%{version}-Update_prototypes_of_BLAS_routines.patch -%if 0%{?fedora} || 0%{?rhel} > 9 +%if 0%{?fedora} || 0%{?rhel} >= 9 BuildRequires: pkgconfig(flexiblas) %else %ifarch %{openblas_arches} @@ -90,7 +90,7 @@ sed -e 's|-O0|-O2|g' -i SRC/CMakeLists.txt -Denable_internal_blaslib:BOOL=NO \ -DXSDK_ENABLE_Fortran:BOOL=OFF \ -DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{__global_fflags}" \ -%if 0%{?fedora} || 0%{?rhel} > 9 +%if 0%{?fedora} || 0%{?rhel} >= 9 -DTPL_BLAS_LIBRARIES="`pkg-config --libs flexiblas`" \ %else -DTPL_BLAS_LIBRARIES=-lopenblas \ @@ -126,6 +126,9 @@ sed -e 's|-O0|-O2|g' -i SRC/CMakeLists.txt %doc DOC %changelog +* Wed Aug 09 2023 Antonio Trande - 6.0.1-1 +- Rebuild against Flexiblas on EPEL9 (rhbz#2257325) + * Mon Jan 22 2024 Fedora Release Engineering - 6.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild