- More subpackage interdependency adjustments

- boost doesn't bring in the MPI stuff. Instead, $MPI-devel does. It needs
    to, so that the symlinks don't dangle.
- boost-graph-$MPI depends on boost-$MPI so that boost-mpich2 doesn't
    satisfy the SONAME dependency of boost-graph-openmpi.
- Resolves: #559009
This commit is contained in:
Petr Machata 2010-02-02 16:16:24 +00:00
parent cba7e47852
commit e45bd9c670

View File

@ -17,7 +17,7 @@
Name: boost Name: boost
Summary: The free peer-reviewed portable C++ source libraries Summary: The free peer-reviewed portable C++ source libraries
Version: 1.41.0 Version: 1.41.0
Release: 5%{?dist} Release: 6%{?dist}
License: Boost License: Boost
URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/ URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/
Group: System Environment/Libraries Group: System Environment/Libraries
@ -36,7 +36,10 @@ Source: %{full_version}.tar.bz2
%define sonamever 5 %define sonamever 5
%endif %endif
# boost is an "umbrella" package that pulls in all other boost components # boost is an "umbrella" package that pulls in all other boost
# components, except for MPI sub-packages. Those are "speacial", one
# doesn't necessarily need them and the more typical scenario, I
# think, will be that the developer wants to pick one MPI flavor.
Requires: boost-date-time = %{version}-%{release} Requires: boost-date-time = %{version}-%{release}
Requires: boost-filesystem = %{version}-%{release} Requires: boost-filesystem = %{version}-%{release}
Requires: boost-graph = %{version}-%{release} Requires: boost-graph = %{version}-%{release}
@ -51,20 +54,6 @@ Requires: boost-test = %{version}-%{release}
Requires: boost-thread = %{version}-%{release} Requires: boost-thread = %{version}-%{release}
Requires: boost-wave = %{version}-%{release} Requires: boost-wave = %{version}-%{release}
# OpenMPI packages
%if %{with openmpi}
Requires: boost-openmpi = %{version}-%{release}
Requires: boost-openmpi-python = %{version}-%{release}
Requires: boost-graph-openmpi = %{version}-%{release}
%endif
# MPICH2 packages
%if %{with mpich2}
Requires: boost-mpich2 = %{version}-%{release}
Requires: boost-mpich2-python = %{version}-%{release}
Requires: boost-graph-mpich2 = %{version}-%{release}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
@ -277,6 +266,8 @@ Summary: Shared library symlinks for Boost.MPI
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: boost-devel = %{version}-%{release} Requires: boost-devel = %{version}-%{release}
Requires: boost-openmpi = %{version}-%{release} Requires: boost-openmpi = %{version}-%{release}
Requires: boost-openmpi-python = %{version}-%{release}
Requires: boost-graph-openmpi = %{version}-%{release}
%description openmpi-devel %description openmpi-devel
@ -296,6 +287,7 @@ API over the OpenMPI implementation of MPI.
%package graph-openmpi %package graph-openmpi
Summary: Runtime component of parallel boost graph library Summary: Runtime component of parallel boost graph library
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: boost-openmpi = %{version}-%{release}
%description graph-openmpi %description graph-openmpi
@ -325,6 +317,8 @@ Summary: Shared library symlinks for Boost.MPI
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: boost-devel = %{version}-%{release} Requires: boost-devel = %{version}-%{release}
Requires: boost-mpich2 = %{version}-%{release} Requires: boost-mpich2 = %{version}-%{release}
Requires: boost-mpich2-python = %{version}-%{release}
Requires: boost-graph-mpich2 = %{version}-%{release}
%description mpich2-devel %description mpich2-devel
@ -344,6 +338,7 @@ API over the MPICH2 implementation of MPI.
%package graph-mpich2 %package graph-mpich2
Summary: Runtime component of parallel boost graph library Summary: Runtime component of parallel boost graph library
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: boost-mpich2 = %{version}-%{release}
%description graph-mpich2 %description graph-mpich2
@ -726,11 +721,19 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
%endif %endif
%changelog %changelog
* Mon Jan 30 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.41.0-5 * Tue Feb 2 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-6
- More subpackage interdependency adjustments
- boost doesn't bring in the MPI stuff. Instead, $MPI-devel does.
It needs to, so that the symlinks don't dangle.
- boost-graph-$MPI depends on boost-$MPI so that boost-mpich2
doesn't satisfy the SONAME dependency of boost-graph-openmpi.
- Resolves: #559009
* Mon Feb 1 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.41.0-5
- Various fixes on the specification - Various fixes on the specification
- Resolves: #559009 - Resolves: #559009
* Tue Feb 2 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-5 * Fri Jan 29 2010 Petr Machata <pmachata@redhat.com> - 1.41.0-5
- Introduce support for both OpenMPI and MPICH2 - Introduce support for both OpenMPI and MPICH2
- Resolves: #559009 - Resolves: #559009