From fde30daad8a65c3a783417dd73a8609766da2395fca6b05ec3e2d7431a56cdd6 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sat, 28 May 2011 10:45:57 +0000 Subject: [PATCH] Accepting request 71822 from home:ealin:branches:science - fix the missing soname for libVTKnetcdf_cxx OBS-URL: https://build.opensuse.org/request/show/71822 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=23 --- vtk-soversion2.patch | 10 ++++++++++ vtk.changes | 5 +++++ vtk.spec | 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 vtk-soversion2.patch diff --git a/vtk-soversion2.patch b/vtk-soversion2.patch new file mode 100644 index 0000000..12c8dca --- /dev/null +++ b/vtk-soversion2.patch @@ -0,0 +1,10 @@ +--- VTK/Utilities/vtknetcdf/CMakeLists.txt.old 2011-05-27 18:33:10.035001264 +0100 ++++ VTK/Utilities/vtknetcdf/CMakeLists.txt 2011-05-27 18:34:16.298001142 +0100 +@@ -298,6 +298,7 @@ ADD_DEFINITIONS("-DNC_DLL_EXPORT") + # Apply user-defined properties to the library target. + IF(VTK_LIBRARY_PROPERTIES) + SET_TARGET_PROPERTIES(vtkNetCDF PROPERTIES ${VTK_LIBRARY_PROPERTIES}) ++ SET_TARGET_PROPERTIES(vtkNetCDF_cxx PROPERTIES ${VTK_LIBRARY_PROPERTIES}) + ENDIF(VTK_LIBRARY_PROPERTIES) + + IF(NOT VTK_INSTALL_NO_LIBRARIES) diff --git a/vtk.changes b/vtk.changes index 1fcd4d2..0ce6dd3 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 28 07:49:50 UTC 2011 - alinm.elena@gmail.com + +- fix the missing soname for libVTKnetcdf_cxx + ------------------------------------------------------------------- Sun May 22 17:02:27 UTC 2011 - stecue@gmail.com diff --git a/vtk.spec b/vtk.spec index 6d9b967..642e3ad 100644 --- a/vtk.spec +++ b/vtk.spec @@ -54,7 +54,8 @@ Patch8: vtk-libpng14.patch Patch9: vtk-string-length.patch # PATCH-FIX-UPSTREAM vtk-Balloon-Representation.patch badshah400@gmail.com Correct assignment operations in source files Patch10: vtk-Balloon-Representation.patch - +# patch to fix the soname for libVTKnetcdf_cxx +Patch11: vtk-soversion2.patch Url: http://vtk.org/ BuildRequires: Mesa-devel BuildRequires: MesaGLw-devel @@ -222,6 +223,7 @@ programming languages. %endif %patch9 -p1 %patch10 -p1 +%patch11 -p1 # Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version} # otherwise it will break on symlinks.