]> git.pld-linux.org Git - packages/vtk.git/commitdiff
make sure system libraries are used (from fedora)
authorJan Palus <atler@pld-linux.org>
Thu, 6 Aug 2020 22:23:45 +0000 (00:23 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 6 Aug 2020 22:44:33 +0000 (00:44 +0200)
vtk.spec

index ea3b76f194b34a3fa5cecde1d5b10afc28af51e4..4195ebd921692222161593c735d3f38b1ca22bce 100644 (file)
--- a/vtk.spec
+++ b/vtk.spec
@@ -321,6 +321,10 @@ cp -a Examples vtk-examples
 %{__rm} -r vtk-examples/Examples/GUI/Win32
 find vtk-examples -type f | xargs chmod -R a-x
 
+for x in doubleconversion eigen expat freetype %{?with_system_gl2ps:gl2ps }glew hdf5 jpeg jsoncpp libproj libxml2 lz4 lzma netcdf ogg png pugixml sqlite theora tiff zfp zlib; do
+%{__rm} -r ThirdParty/*/vtk$x
+done
+
 %build
 export CFLAGS="%{rpmcflags} -D_UNICODE -DHAVE_UINTPTR_T"
 export CXXFLAGS="%{rpmcxxflags} -D_UNICODE -DHAVE_UINTPTR_T"
This page took 0.093831 seconds and 4 git commands to generate.