diff --git a/mpiP.changes b/mpiP.changes index 37ab762..986cead 100644 --- a/mpiP.changes +++ b/mpiP.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 28 16:03:47 UTC 2019 - Egbert Eich + +- Disable openmpi1 builds for SLE/Leap > 15.1. +- Enable openmpi3 builds for Leap and SLE > 15.1 (jsc#SLE-7773). + ------------------------------------------------------------------- Thu Sep 26 09:40:42 UTC 2019 - Nicolas Morey-Chaisemartin diff --git a/mpiP.spec b/mpiP.spec index 1b2f197..5823684 100644 --- a/mpiP.spec +++ b/mpiP.spec @@ -22,9 +22,10 @@ %define vers 3.4.1 %define _vers 3_4_1 -%if 0%{?is_opensuse} || 0%{?is_backports} -%undefine DisOMPI3 -%else +%if 0%{?sle_version} >= 150200 +%define DisOMPI1 ExclusiveArch: do_not_build +%endif +%if 0%{!?is_opensuse:1} && 0%{?sle_version:1} && 0%{?sle_version} < 150200 %define DisOMPI3 ExclusiveArch: do_not_build %endif