[vtk] Fix data dir location

Orion Poplawski orion at fedoraproject.org
Sat Jan 25 02:42:25 UTC 2014


commit 2f020d178e89779252d089731085c47415b353ba
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Fri Jan 24 19:42:45 2014 -0700

    Fix data dir location

 vtk.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vtk.spec b/vtk.spec
index 0848ab8..f0952ac 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -213,7 +213,7 @@ pushd build
  -DBUILD_TESTING:BOOL=OFF \
  -DVTK_CUSTOM_LIBRARY_SUFFIX="" \
  -DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib}/vtk \
- -DVTK_INSTALL_DATA_DIR=share/paraview \
+ -DVTK_INSTALL_DATA_DIR=share/vtk \
  -DVTK_INSTALL_INCLUDE_DIR:PATH=include/vtk \
  -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib}/vtk \
  -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/vtk \
@@ -393,6 +393,7 @@ cp -pr --parents Wrapping/*/README* _docs/
 %files -f build/main.list
 %doc Copyright.txt README.html vtkLogo.jpg vtkBanner.gif _docs/Wrapping
 %config(noreplace) %{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
+%{_datadir}/vtk
 %dir %{_libdir}/vtk
 
 %files devel


More information about the scm-commits mailing list