From 14e8afec10ef2f6d0dffb9eb30b0fec40f3ffdcc11d36e4e0254893ff428cdec Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Sat, 9 Mar 2019 10:51:50 +0000 Subject: [PATCH] Accepting request 682887 from home:dimstar:Factory Do the same was we do with openmpi itself: save us the trouble of building all flavors in staging OBS-URL: https://build.opensuse.org/request/show/682887 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=229 --- boost.changes | 6 ++++++ boost.spec | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/boost.changes b/boost.changes index 5ebf845..4bcc155 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 8 14:57:09 UTC 2019 - Dominique Leuenberger + +- Do not build gnu-mvapich2-hpc and gnu-openmpi2-hpc flavors in + Staging areas. + ------------------------------------------------------------------- Wed Mar 6 15:24:01 UTC 2019 - Adam Majer diff --git a/boost.spec b/boost.spec index 25664de..dd00b9b 100644 --- a/boost.spec +++ b/boost.spec @@ -28,6 +28,7 @@ %bcond_without package_pdf %bcond_without build_quickbook %bcond_with boost_devel +%bcond_with ringdisabled %define package_name boost%{library_version} %define my_docdir %{_docdir}/boost%{library_version} @@ -77,8 +78,12 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le %bcond_without mpi %bcond_without python2 %bcond_without python3 +%if %{with ringdisabled} +ExclusiveArch: do-not-build +%else ExcludeArch: s390x %{ix86} ppc64 ppc64le %endif +%endif %if "@BUILD_FLAVOR@" == "gnu-mvapich2-hpc" %define build_base 0 @@ -90,8 +95,12 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le %bcond_without mpi %bcond_without python2 %bcond_without python3 +%if %{with ringdisabled} +ExclusiveArch: do-not-build +%else ExcludeArch: s390x %{ix86} ppc64 ppc64le %endif +%endif # Build with OpenMPI %if 0%{?suse_version} >= 1330