Accepting request 752428 from home:eeich:branches:science

- 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/752428
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=120
This commit is contained in:
Egbert Eich 2019-11-29 17:31:34 +00:00 committed by Git OBS Bridge
parent c3a37573aa
commit d658fc3a46
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 28 15:54:19 UTC 2019 - Egbert Eich <eich@suse.com>
- 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 <nmoreychaisemartin@suse.com> Thu Oct 24 06:37:26 UTC 2019 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

View File

@ -18,13 +18,10 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if 0%{?is_opensuse} || 0%{?is_backports} %if 0%{?sle_version} >= 150200
%undefine DisOMPI1
%undefine DisOMPI2
%undefine DisOMPI3
%else
%define DisOMPI1 ExclusiveArch: do_not_build %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 %define DisOMPI3 ExclusiveArch: do_not_build
%endif %endif