From 873683b6a608697e756d732718ab8666925c3d4ada4d895c42c92417285f4f78 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 29 Nov 2019 17:42:07 +0000 Subject: [PATCH] Accepting request 752427 from home:eeich:branches:science:HPC - Disable openmpi1 builds for SLE/Leap > 15.1. - Enable openmpi3 builds for Leap and SLE > 15.1 (jsc#SLE-7773). OBS-URL: https://build.opensuse.org/request/show/752427 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpiP?expand=0&rev=25 --- mpiP.changes | 6 ++++++ mpiP.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) 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