Accepting request 662659 from home:eeich:branches:science

- Do not build non-HPC on SLE: This helps to save some build
  cycles.

OBS-URL: https://build.opensuse.org/request/show/662659
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=95
This commit is contained in:
Egbert Eich 2019-01-03 17:49:01 +00:00 committed by Git OBS Bridge
parent 36f100cc81
commit 854c95f1ed
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 3 11:39:58 UTC 2019 - eich@suse.com
- Do not build non-HPC on SLE: This helps to save some build
cycles.
-------------------------------------------------------------------
Wed Dec 19 19:54:05 UTC 2018 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package hdf5
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -153,6 +153,11 @@ ExclusiveArch: do_not_build
%global mpi_flavor mpich
%endif
# Don't build non-HPC on SLE
%if !0%{?is_opensuse} && !0%{?with_hpc:1}
ExclusiveArch: do_not_build
%endif
# Disable until resource issue is resolved.
%if "%mpi_flavor" == "openmpi"
%define _do_check 0