From cdc92f1a01329afe108623f0b377f435885ebef6 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 11 Aug 2021 22:00:21 -0600 Subject: [PATCH] Drop extra rpath fixes for now - missing files --- vtk.spec | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/vtk.spec b/vtk.spec index 3e00e84..e9dba3e 100644 --- a/vtk.spec +++ b/vtk.spec @@ -601,16 +601,17 @@ done for file in `cat testing.list`; do chrpath -l -d %{buildroot}$file done -%if %{with mpich} -chrpath -l -d %{buildroot}%{_libdir}/mpich/bin/pvtkpython -chrpath -l -d %{buildroot}%{_libdir}/mpich/lib/python%{python3_version}/site-packages/vtkmodules/vtk*.so -chrpath -l -d %{buildroot}%{_libdir}/mpich/lib/vtk/libvtk{FiltersParallelGeometryJava,IOExodusJava,ParallelMPIJava}.so -%endif -%if %{with openmpi} -chrpath -l -d %{buildroot}%{_libdir}/openmpi/bin/pvtkpython -chrpath -l -d %{buildroot}%{_libdir}/openmpi/lib/python%{python3_version}/site-packages/vtkmodules/vtk*.so -chrpath -l -d %{buildroot}%{_libdir}/openmpi/lib/vtk/libvtk{FiltersParallelGeometryJava,IOExodusJava,ParallelMPIJava}.so -%endif +# TODO - get proper list of files +#if %{with mpich} +#hrpath -l -d %{buildroot}%{_libdir}/mpich/bin/pvtkpython +#hrpath -l -d %{buildroot}%{_libdir}/mpich/lib/python%{python3_version}/site-packages/vtkmodules/vtk*.so +#hrpath -l -d %{buildroot}%{_libdir}/mpich/lib/vtk/libvtk{FiltersParallelGeometryJava,IOExodusJava,ParallelMPIJava}.so +#endif +#if %{with openmpi} +#hrpath -l -d %{buildroot}%{_libdir}/openmpi/bin/pvtkpython +#hrpath -l -d %{buildroot}%{_libdir}/openmpi/lib/python%{python3_version}/site-packages/vtkmodules/vtk*.so +#hrpath -l -d %{buildroot}%{_libdir}/openmpi/lib/vtk/libvtk{FiltersParallelGeometryJava,IOExodusJava,ParallelMPIJava}.so +#endif popd %if %{with mpich}