[packages/vtk] - fix files
baggins
baggins at pld-linux.org
Mon Jan 23 07:09:21 CET 2017
commit 7585f75f426465c1176ca6d3b97d6c1d415af446
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Jan 23 07:09:07 2017 +0100
- fix files
vtk.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/vtk.spec b/vtk.spec
index 68c1243..ee338db 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -579,7 +579,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/vtk/libvtksys.so.1
%attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so.1
%attr(755,root,root) %{_libdir}/vtk/libvtkxdmf2.so.1
+%if %{with java}
%exclude %{_libdir}/vtk/libvtk*Java.so.1
+%endif
%exclude %{_libdir}/vtk/libvtk*Python2?D.so.1
%exclude %{_libdir}/vtk/libvtkWrappingPython2?Core.so.1
%exclude %{_libdir}/vtk/libvtk*TCL.so.1
@@ -633,7 +635,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/vtk/libvtksys.so
%attr(755,root,root) %{_libdir}/vtk/libvtkverdict.so
%attr(755,root,root) %{_libdir}/vtk/libvtkxdmf2.so
+%if %{with java}
%exclude %{_libdir}/vtk/libvtk*Java.so
+%endif
%exclude %{_libdir}/vtk/libvtk*Python2?D.so
%exclude %{_libdir}/vtk/libvtkWrappingPython2?Core.so
%exclude %{_libdir}/vtk/libvtk*TCL.so
@@ -655,8 +659,10 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/vtk/vtk*.txx
%exclude %{_includedir}/vtk/vtkEventQtSlotConnect.h
%exclude %{_includedir}/vtk/vtkGUISupportQt*.h
+%if %{with java}
%exclude %{_includedir}/vtk/vtkJavaUtil.h
%exclude %{_includedir}/vtk/vtkWrappingJavaModule.h
+%endif
%exclude %{_includedir}/vtk/vtkPython*.h
%exclude %{_includedir}/vtk/vtkQImageToImageSource.h
%exclude %{_includedir}/vtk/vtkQt*.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vtk.git/commitdiff/7585f75f426465c1176ca6d3b97d6c1d415af446
More information about the pld-cvs-commit
mailing list