- remove python2 variants, no longer available

- fix dependency on libboost_mpi_python

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost-defaults?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2020-08-27 09:20:33 +00:00 committed by Git OBS Bridge
parent 9ca0444825
commit 9e17a0bd9d
2 changed files with 8 additions and 65 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 27 09:20:07 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- remove python2 variants, no longer available
- fix dependency on libboost_mpi_python
-------------------------------------------------------------------
Fri Aug 21 20:03:10 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -16,10 +16,10 @@
#
%bcond_without python2
Name: boost-defaults
Version: 1.74.0
Release: 0
%define python3X python38
%define boost_version 1_74_0
Summary: Default Boost C++ Libraries
License: MIT
@ -234,31 +234,10 @@ Development headers for Boost.Graph parallel boost library.
This package installs the default Boost version of the library.
%package -n libboost_mpi_python-devel
Summary: Development library for Boost.MPI Python 2.7 serialization
Group: Development/Libraries/C and C++
Requires: libboost_mpi_python-py2_7-%{boost_version}-devel
%description -n libboost_mpi_python-devel
This package contains the Boost.MPI development library for Python 2.7
serialization interface.
This package installs the default Boost version of the library.
%package -n python-boost_parallel_mpi
Summary: Python 2.7 bindings for Boost.Parallel.MPI library
Group: Development/Languages/Python
Requires: python2-boost_parallel_mpi%{boost_version}
%description -n python-boost_parallel_mpi
This package contains the Boost.Parallel.MPI bindings for Python 2.7
This package installs the default Boost version of the library.
%package -n libboost_mpi_python3-devel
Summary: Development library for Boost.MPI Python 3.x serialization
Group: Development/Libraries/C and C++
Requires: libboost_mpi_python-py3-%{boost_version}-devel
Requires: libboost_mpi_%{python3X}-py3-%{boost_version}-devel
%description -n libboost_mpi_python3-devel
This package contains the Boost.MPI development library for Python 3.x
@ -299,28 +278,6 @@ library.
This package installs the default Boost version of the library.
%package -n libboost_python-devel
Summary: Development headers for Boost.Python library
Group: Development/Libraries/C and C++
Requires: libboost_python-py2_7-%{boost_version}-devel
%description -n libboost_python-devel
Development headers for Boost::Python library for the default version of
python.
This package installs the default Boost version of the library.
%package -n libboost_numpy-devel
Summary: Development headers for Boost.Python.NumPy library
Group: Development/Libraries/C and C++
Requires: libboost_numpy-py2_7-%{boost_version}-devel
%description -n libboost_numpy-devel
Development headers for Boost::Python::NumPy library for the default version of
python.
This package installs the default Boost version of the library.
%package -n libboost_python3-devel
Summary: Development headers for Boost.Python library
Group: Development/Libraries/C and C++
@ -514,16 +471,6 @@ cp %{SOURCE1} .
%files -n libboost_graph_parallel-devel
%doc README
%if %{with python2}
%files -n libboost_mpi_python-devel
%doc README
%endif
%if %{with python2}
%files -n python-boost_parallel_mpi
%doc README
%endif
%files -n libboost_mpi_python3-devel
%doc README
@ -536,16 +483,6 @@ cp %{SOURCE1} .
%files -n libboost_program_options-devel
%doc README
%if %{with python2}
%files -n libboost_python-devel
%doc README
%endif
%if %{with python2}
%files -n libboost_numpy-devel
%doc README
%endif
%files -n libboost_python3-devel
%doc README