[boost/f19] s/mpich2/mpich/

Petr Machata pmachata at fedoraproject.org
Wed Jul 24 14:41:53 UTC 2013


commit 8133fa30c131a0b3cf29f9c71345509d9f34d53f
Author: Petr Machata <pmachata at redhat.com>
Date:   Tue Jul 23 19:21:12 2013 +0200

    s/mpich2/mpich/

 boost.spec |   96 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 49 insertions(+), 47 deletions(-)
---
diff --git a/boost.spec b/boost.spec
index 18383aa..8fa77f6 100644
--- a/boost.spec
+++ b/boost.spec
@@ -6,9 +6,9 @@
 %define boost_examplesdir __tmp_examplesdir
 
 %ifarch %{arm}
-  %bcond_with mpich2
+  %bcond_with mpich
 %else
-  %bcond_without mpich2
+  %bcond_without mpich
 %endif
 
 %ifarch s390 s390x %{arm}
@@ -531,56 +531,56 @@ back-end to do the parallel work.
 %endif
 
 
-%if %{with mpich2}
+%if %{with mpich}
 
-%package mpich2
+%package mpich
 Summary: Run-Time component of Boost.MPI library
 Group: System Environment/Libraries
-Requires: mpich2
-BuildRequires: mpich2-devel
+Requires: mpich
+BuildRequires: mpich-devel
 Requires: boost-serialization = %{version}-%{release}
 
-%description mpich2
+%description mpich
 
-Run-Time support for Boost.MPI-MPICH2, a library providing a clean C++
-API over the MPICH2 implementation of MPI.
+Run-Time support for Boost.MPI-MPICH, a library providing a clean C++
+API over the MPICH implementation of MPI.
 
-%package mpich2-devel
+%package mpich-devel
 Summary: Shared library symbolic links for Boost.MPI
 Group: System Environment/Libraries
 Requires: boost-devel = %{version}-%{release}
-Requires: boost-mpich2 = %{version}-%{release}
-Requires: boost-mpich2-python = %{version}-%{release}
-Requires: boost-graph-mpich2 = %{version}-%{release}
+Requires: boost-mpich = %{version}-%{release}
+Requires: boost-mpich-python = %{version}-%{release}
+Requires: boost-graph-mpich = %{version}-%{release}
 
-%description mpich2-devel
+%description mpich-devel
 
-Devel package for Boost.MPI-MPICH2, a library providing a clean C++
-API over the MPICH2 implementation of MPI.
+Devel package for Boost.MPI-MPICH, a library providing a clean C++
+API over the MPICH implementation of MPI.
 
-%package mpich2-python
+%package mpich-python
 Summary: Python run-time component of Boost.MPI library
 Group: System Environment/Libraries
-Requires: boost-mpich2 = %{version}-%{release}
+Requires: boost-mpich = %{version}-%{release}
 Requires: boost-python = %{version}-%{release}
 Requires: boost-serialization = %{version}-%{release}
 
-%description mpich2-python
+%description mpich-python
 
-Python support for Boost.MPI-MPICH2, a library providing a clean C++
-API over the MPICH2 implementation of MPI.
+Python support for Boost.MPI-MPICH, a library providing a clean C++
+API over the MPICH implementation of MPI.
 
-%package graph-mpich2
+%package graph-mpich
 Summary: Run-Time component of parallel boost graph library
 Group: System Environment/Libraries
-Requires: boost-mpich2 = %{version}-%{release}
+Requires: boost-mpich = %{version}-%{release}
 Requires: boost-serialization = %{version}-%{release}
 
-%description graph-mpich2
+%description graph-mpich
 
 Run-Time support for the Parallel BGL graph library.  The interface and
 graph components are generic, in the same sense as the the Standard
-Template Library (STL).  This libraries in this package use MPICH2
+Template Library (STL).  This libraries in this package use MPICH
 back-end to do the parallel work.
 
 %endif
@@ -702,7 +702,7 @@ echo ============================= build serial ==================
 
 # Build MPI parts of Boost with OpenMPI support
 
-%if %{with openmpi} || %{with mpich2}
+%if %{with openmpi} || %{with mpich}
 # First, purge all modules so that user environment doesn't conflict
 # with the build.
 module purge ||:
@@ -723,15 +723,15 @@ echo ============================= build $MPI_COMPILER ==================
 export PATH=/bin${PATH:+:}$PATH
 %endif
 
-# Build MPI parts of Boost with MPICH2 support
-%if %{with mpich2}
-%{_mpich2_load}
+# Build MPI parts of Boost with MPICH support
+%if %{with mpich}
+%{_mpich_load}
 echo ============================= build $MPI_COMPILER ==================
 ./b2 -d+2 -q %{?_smp_mflags} --layout=tagged \
 	--with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
 	variant=release threading=multi debug-symbols=on pch=off \
 	python=%{python2_version} stage
-%{_mpich2_unload}
+%{_mpich_unload}
 export PATH=/bin${PATH:+:}$PATH
 %endif
 
@@ -748,7 +748,7 @@ rm -rf $RPM_BUILD_ROOT
 
 cd %{_builddir}/%{toplev_dirname}
 
-%if %{with openmpi} || %{with mpich2}
+%if %{with openmpi} || %{with mpich}
 # First, purge all modules so that user environment doesn't conflict
 # with the build.
 module purge ||:
@@ -770,8 +770,8 @@ rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
 export PATH=/bin${PATH:+:}$PATH
 %endif
 
-%if %{with mpich2}
-%{_mpich2_load}
+%if %{with mpich}
+%{_mpich_load}
 echo ============================= install $MPI_COMPILER ==================
 ./b2 -q %{?_smp_mflags} --layout=tagged \
 	--with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
@@ -782,7 +782,7 @@ echo ============================= install $MPI_COMPILER ==================
 # Remove generic parts of boost that were built for dependencies.
 rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
 
-%{_mpich2_unload}
+%{_mpich_unload}
 export PATH=/bin${PATH:+:}$PATH
 %endif
 
@@ -1148,8 +1148,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-, root, root, -)
 %doc LICENSE_1_0.txt
 %{_libdir}/*.a
-%if %{with mpich2}
-%{_libdir}/mpich2/lib/*.a
+%if %{with mpich}
+%{_libdir}/mpich/lib/*.a
 %endif
 %if %{with openmpi}
 %{_libdir}/openmpi/lib/*.a
@@ -1181,29 +1181,29 @@ rm -rf $RPM_BUILD_ROOT
 
 %endif
 
-# MPICH2 packages
-%if %{with mpich2}
+# MPICH packages
+%if %{with mpich}
 
-%files mpich2
+%files mpich
 %defattr(-, root, root, -)
 %doc LICENSE_1_0.txt
-%{_libdir}/mpich2/lib/libboost_mpi-mt.so.%{sonamever}
+%{_libdir}/mpich/lib/libboost_mpi-mt.so.%{sonamever}
 
-%files mpich2-devel
+%files mpich-devel
 %defattr(-, root, root, -)
 %doc LICENSE_1_0.txt
-%{_libdir}/mpich2/lib/libboost_*.so
+%{_libdir}/mpich/lib/libboost_*.so
 
-%files mpich2-python
+%files mpich-python
 %defattr(-, root, root, -)
 %doc LICENSE_1_0.txt
-%{_libdir}/mpich2/lib/libboost_mpi_python*.so.%{sonamever}
-%{_libdir}/mpich2/lib/mpi.so
+%{_libdir}/mpich/lib/libboost_mpi_python*.so.%{sonamever}
+%{_libdir}/mpich/lib/mpi.so
 
-%files graph-mpich2
+%files graph-mpich
 %defattr(-, root, root, -)
 %doc LICENSE_1_0.txt
-%{_libdir}/mpich2/lib/libboost_graph_parallel-mt.so.%{sonamever}
+%{_libdir}/mpich/lib/libboost_graph_parallel-mt.so.%{sonamever}
 
 %endif
 
@@ -1221,6 +1221,8 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Jul 24 2013 Petr Machata <pmachata at redhat.com> - 1.53.0-9
 - Add explicit dependencies between some of the boost sub-packages
+- MPICH2 became MPICH -- rename subpackages, dependencies and
+  conditionals.
 
 * Fri Jul 19 2013 Petr Machata <pmachata at redhat.com> - 1.53.0-8
 - Install supporting files (images etc.) for documentation


More information about the scm-commits mailing list