diff --git a/hdf5.changes b/hdf5.changes index 67237b2..f5130d9 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 28 15:54:19 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 Oct 24 06:37:26 UTC 2019 - Nicolas Morey-Chaisemartin diff --git a/hdf5.spec b/hdf5.spec index 141430b..1d53f9f 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -18,13 +18,10 @@ %global flavor @BUILD_FLAVOR@%{nil} -%if 0%{?is_opensuse} || 0%{?is_backports} -%undefine DisOMPI1 -%undefine DisOMPI2 -%undefine DisOMPI3 -%else +%if 0%{?sle_version} >= 150200 %define DisOMPI1 ExclusiveArch: do_not_build -%undefine DisOMPI2 +%endif +%if 0%{!?is_opensuse:1} && 0%{?sle_version:1} && 0%{?sle_version} < 150200 %define DisOMPI3 ExclusiveArch: do_not_build %endif