Re-add ringdisabled section for HPC targets

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=279
This commit is contained in:
Adam Majer 2021-02-09 12:37:45 +00:00 committed by Git OBS Bridge
parent 97cbe8156c
commit 41422eef13

View File

@ -73,14 +73,6 @@ ExclusiveArch: do_not_build
%undefine c_f_ver
%bcond_with mpi
%bcond_without hpc
#ExcludeArch: %%arm s390x i586
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%else
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%else
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
%endif
%if "%{flavor}" == "gnu-openmpi2-hpc"
@ -193,6 +185,14 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le
%bcond_without python3
%endif
%if 0%{?with_hpc}
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%else
ExcludeArch: s390x %{ix86} ppc64 ppc64le
%endif
%endif
# Python NumPy library is only available on Leap 42.1 OpenSUSE onward
# and is not availble in SLE
%if 0%{?suse_version} >= 1330 || 0%{?is_opensuse}