From 56ec04471d48ed4694e821f4bae37ae0e8bc3a1b Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 29 Oct 2023 12:44:09 -0600 Subject: [PATCH] Rework conditional --- boost.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/boost.spec b/boost.spec index 9b1a164..a6e5f4e 100644 --- a/boost.spec +++ b/boost.spec @@ -16,9 +16,13 @@ # All arches have mpich %bcond_without mpich -%if 0%{?fedora} >= 40 && "%{_arch}" == "i686" - # No OpenMPI support on these arches - %bcond_with openmpi +%if 0%{?fedora} >= 40 +%ifarch %{ix86} + # No OpenMPI support on these arches + %bcond_with openmpi +%else + %bcond_without openmpi +%endif %else %bcond_without openmpi %endif