diff --git a/vtk.spec b/vtk.spec index 2688453..3823617 100644 --- a/vtk.spec +++ b/vtk.spec @@ -115,7 +115,7 @@ cmake . \ -DCMAKE_CXX_FLAGS:STRING="$RPM_OPT_FLAGS" \ -DCMAKE_INSTALL_PREFIX:PATH=$RPM_BUILD_ROOT \ -DVTK_INSTALL_BIN_DIR:PATH=%{_bindir} \ - -DVTK_INSTALL_INCLUDE_DIR:PATH=%{_includedir} \ + -DVTK_INSTALL_INCLUDE_DIR:PATH=%{_includedir}/%{name} \ -DVTK_INSTALL_LIB_DIR:PATH=%{_libdir} \ -DVTK_DATA_ROOT:PATH=%{_datadir}/%{name}-data \ -DVTK_WRAP_PYTHON:BOOL=ON \ @@ -264,7 +264,7 @@ chrpath -d $RPM_BUILD_ROOT%{_bindir}/* %doc Copyright.txt %files devel -%defattr(-,root,root) +%defattr(-,root,root,-) %dir %{_libdir}/vtk-%{lib_ver}/CMake %dir %{_libdir}/vtk-%{lib_ver}/doxygen %{_includedir}/* @@ -290,9 +290,9 @@ chrpath -d $RPM_BUILD_ROOT%{_bindir}/* %{_libdir}/libvtk*TCL.so %{_libdir}/libvtk*Python*.so %{_libdir}/libQVTK.so - %doc README.html %doc vtkLogo.jpg +%defattr(0644,root,root,-) %doc Utilities/Upgrading/*.txt %doc Utilities/Upgrading/*.pdf %doc Utilities/Upgrading/*.cmake