From 3d62ceee024a519f912aba63c0221cf3157fff1d Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 9 Feb 2024 12:25:07 -0500 Subject: [PATCH] Disable ATLAS and BLIS in RHEL builds Only the netlib and openblas backends are shipped in RHEL, so we can avoid unused dependencies by not building the backends we don't ship. --- flexiblas.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/flexiblas.spec b/flexiblas.spec index cc99af7..4e7da8e 100644 --- a/flexiblas.spec +++ b/flexiblas.spec @@ -1,7 +1,7 @@ -%bcond_without system_lapack -%bcond_without atlas -%bcond_without blis -%bcond_without openblas +%bcond system_lapack 1 +%bcond atlas %{undefined rhel} +%bcond blis %{undefined rhel} +%bcond openblas 1 # https://bugzilla.redhat.com/show_bug.cgi?id=2058840 %undefine _ld_as_needed @@ -20,7 +20,7 @@ Name: flexiblas Version: %{major_version}.%{minor_version}.%{patch_version} -Release: 3%{?dist} +Release: 4%{?dist} Summary: A BLAS/LAPACK wrapper library with runtime exchangeable backends # LGPL-3.0-or-later @@ -438,6 +438,9 @@ make -C build64 test %endif %changelog +* Fri Feb 09 2024 Yaakov Selkowitz - 3.4.1-4 +- Disable ATLAS and BLIS in RHEL builds + * Wed Jan 24 2024 Fedora Release Engineering - 3.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild