Accepting request 944496 from home:eeich:branches:science:HPC

- On Factory, build the default only. For Leap build all. On older Leap
  versions, this may fail as newer compilers do not resolve. Oh, well.

OBS-URL: https://build.opensuse.org/request/show/944496
OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=35
This commit is contained in:
Egbert Eich 2022-01-06 16:03:09 +00:00 committed by Git OBS Bridge
parent b3204bcaa3
commit 7d9e7b3ec7

View File

@ -1,7 +1,7 @@
#
# spec file for package gnu
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -55,11 +55,8 @@ ExclusiveArch: do_not_build
%define c_f_ver 11
%endif
%if 0%{?sle_version} == 150200 && ("gnu-hpc" == "gnu10-hpc" || "gnu-hpc" == "gnu11-hpc")
ExclusiveArch: do-not-build
%endif
%if 0%{?suse_version} == 1599 && ("%flavor" == "gnu8-hpc" || "%flavor" == "gnu9-hpc")
# For Factory only build the default
%if 0%{?suse_version} > 1500 && "%flavor" != "gnu-hpc"
ExclusiveArch: do-not-build
%endif