- remove MPI related packages on 32 bit systems

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost-defaults?expand=0&rev=40
This commit is contained in:
Arvin Schnell 2025-02-26 10:23:25 +00:00 committed by Git OBS Bridge
parent a0deb8db7e
commit f6e95c11c5
2 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 26 09:47:48 CET 2025 - aschnell@suse.com
- remove MPI packages on 32 bit systems
-------------------------------------------------------------------
Wed Dec 11 12:03:20 CET 2024 - aschnell@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package boost-defaults
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,11 @@ License: MIT
Group: Development/Libraries/C and C++
URL: https://www.boost.org
Source1: README
BuildArch: noarch
%ifnarch %{arm} %ix86
# OpenMPI 5 has no support for 32bit architectures
%bcond_without mpi
%endif
%description
Boost provides free peer-reviewed portable C++ source libraries. The
@ -211,6 +215,8 @@ Development headers for Boost.Math* boost libraries.
This package installs the default Boost version of the library.
%if %{with mpi}
%package -n libboost_mpi-devel
Summary: Development headers for Boost.MPI library
Group: Development/Libraries/C and C++
@ -242,6 +248,8 @@ serialization interface
This package installs the default Boost version of the library.
%endif
%package -n libboost_nowide-devel
Summary: Development library for Boost.Nowide
Group: Development/Libraries/C and C++
@ -252,6 +260,8 @@ This package contains the Boost.Nowide development library.
This package installs the default Boost version of the library.
%if %{with mpi}
%package -n python3-boost_parallel_mpi
Summary: Python 3.x bindings for Boost.Parallel.MPI library
Group: Development/Languages/Python
@ -262,6 +272,8 @@ This package contains the Boost.Parallel.MPI bindings for Python 3.x
This package installs the default Boost version of the library.
%endif
%package -n libboost_test-devel
Summary: Development headers for Boost.Test library
Group: Development/Libraries/C and C++
@ -493,6 +505,8 @@ cp %{SOURCE1} .
%files -n libboost_math-devel
%doc README
%if %{with mpi}
%files -n libboost_mpi-devel
%doc README
@ -502,12 +516,18 @@ cp %{SOURCE1} .
%files -n libboost_mpi_python3-devel
%doc README
%endif
%files -n libboost_nowide-devel
%doc README
%if %{with mpi}
%files -n python3-boost_parallel_mpi
%doc README
%endif
%files -n libboost_test-devel
%doc README