- Do not build 32b versions of the gnu-hpc flavour.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=51
This commit is contained in:
Nicolas Morey 2024-06-25 14:27:21 +00:00 committed by Git OBS Bridge
parent 36fd409b0a
commit ff61f2298b
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 25 12:35:03 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>
- Do not build 32b versions of the gnu-hpc flavour.
-------------------------------------------------------------------
Mon Sep 4 11:39:42 UTC 2023 - Egbert Eich <eich@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -64,8 +64,13 @@ ExclusiveArch: do_not_build
%endif
# For Factory only build the default
%if 0%{?suse_version} > 1600 && "%flavor" != "gnu-hpc"
%if 0%{?suse_version} > 1600
# Only build gnu-hpc flavour but not on 32b systems
%if "%flavor" != "gnu-hpc"
ExclusiveArch: do-not-build
%else
ExcludeArch: i586 %arm s390
%endif
%endif
# Keep in sync with macros.hpc-gnu