[paraview/el6] Fixup forward paths for mpi versions (bug #748221)
Orion Poplawski
orion at fedoraproject.org
Mon Oct 31 18:48:17 UTC 2011
commit 643bb8b29789597066941280cdfe18664ebd01f2
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Mon Oct 31 09:07:06 2011 -0600
Fixup forward paths for mpi versions (bug #748221)
paraview.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/paraview.spec b/paraview.spec
index 1ddf756..ceb1cae 100644
--- a/paraview.spec
+++ b/paraview.spec
@@ -13,7 +13,7 @@
Name: paraview
Version: %{pv_majmin}.%{pv_patch}
-Release: 1%{?dist}.2
+Release: 2%{?dist}
Summary: Parallel visualization application
Group: Applications/Engineering
@@ -231,6 +231,8 @@ pushd fedora-openmpi
-DICET_BUILD_TESTING:BOOL=ON \
-DMPI_COMPILER:FILEPATH=%{_libdir}/openmpi/bin/mpicxx \
%{paraview_cmake_options}
+# Fixup forward paths
+sed -i -e 's,../%{_lib}/openmpi,..,' `find -name \*-forward.c`
make VERBOSE=1 %{?_smp_mflags}
%{_openmpi_unload}
popd
@@ -246,6 +248,8 @@ pushd fedora-mpich2
-DICET_BUILD_TESTING:BOOL=ON \
-DMPI_COMPILER:FILEPATH=%{_libdir}/mpich2/bin/mpicxx \
%{paraview_cmake_options}
+# Fixup forward paths
+sed -i -e 's,../%{_lib}/mpich2,..,' `find -name \*-forward.c`
make VERBOSE=1 %{?_smp_mflags}
%{_mpich2_unload}
popd
@@ -410,6 +414,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%changelog
+* Mon Oct 31 2011 Orion Poplawski <orion at cora.nwra.com> - 3.8.1-2
+- Fixup forward paths for mpi versions (bug #748221)
+
* Mon Dec 20 2010 Orion Poplawski <orion at cora.nwra.com> - 3.8.1-1.2
- Don't build mpich2 on ppc64
More information about the scm-commits
mailing list