[vtk] Add patch to add soname to libvtkNetCDF_cxx

Orion Poplawski orion at fedoraproject.org
Thu May 24 17:52:05 UTC 2012


commit b11572b77ad2c91de8c3dfe1eff2e3cb13c86443
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Thu May 24 11:52:03 2012 -0600

    Add patch to add soname to libvtkNetCDF_cxx

 vtk-soname.patch |   11 +++++++++++
 vtk.spec         |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/vtk-soname.patch b/vtk-soname.patch
new file mode 100644
index 0000000..812020f
--- /dev/null
+++ b/vtk-soname.patch
@@ -0,0 +1,11 @@
+diff -up VTK/Utilities/vtknetcdf/CMakeLists.txt.soname VTK/Utilities/vtknetcdf/CMakeLists.txt
+--- VTK/Utilities/vtknetcdf/CMakeLists.txt.soname	2012-05-12 05:59:27.000000000 -0600
++++ VTK/Utilities/vtknetcdf/CMakeLists.txt	2012-05-24 11:49:32.069811561 -0600
+@@ -350,6 +350,7 @@ TARGET_LINK_LIBRARIES(vtkNetCDF_cxx vtkN
+ # 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)
+ 
+ #-----------------------------------------------------------------------------
diff --git a/vtk.spec b/vtk.spec
index 688724f..637b1f7 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -12,7 +12,7 @@
 Summary: The Visualization Toolkit - A high level 3D visualization library
 Name: vtk
 Version: 5.10.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -20,6 +20,9 @@ License: BSD
 Group: System Environment/Libraries
 Source: http://www.vtk.org/files/release/5.10/%{name}-%{version}.tar.gz
 Patch1: vtk-5.2.0-gcc43.patch
+# Add soname to libvtkNetCDF_cxx
+# http://vtk.org/Bug/view.php?id=12207
+Patch2: vtk-soname.patch
 # Use system libraries
 # http://public.kitware.com/Bug/view.php?id=11823
 Patch5: vtk-5.6.1-system.patch
@@ -140,6 +143,7 @@ programming languages.
 %prep
 %setup -q -n VTK
 %patch1 -p1 -b .gcc43
+%patch2 -p1 -b .soname
 %patch5 -p1 -b .system
 
 # Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
@@ -404,6 +408,9 @@ rm -rf %{buildroot}
 %doc vtk-examples/Examples
 
 %changelog
+* Thu May 24 2012 Orion Poplawski <orion at cora.nwra.com> - 5.10.0-2
+- Add patch to add soname to libvtkNetCDF_cxx
+
 * Tue May 15 2012 Orion Poplawski <orion at cora.nwra.com> - 5.10.0-1
 - Update to 5.10.0
 


More information about the scm-commits mailing list