diff --git a/petsc.spec b/petsc.spec index 1dd7365..33d8f47 100644 --- a/petsc.spec +++ b/petsc.spec @@ -31,7 +31,11 @@ %endif %bcond_without mpich +%if 0%{?fedora} >= 40 && "%{_arch}" == "i686" +%bcond_with openmpi +%else %bcond_without openmpi +%endif %if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 %bcond_without arch64