diff --git a/vtk.changes b/vtk.changes index 234606f..a0be1a0 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Apr 24 08:28:02 UTC 2020 - Atri Bhattacharya + +- Disable building examples to prevent vtkLocalExample.java + randomly missing from vtk.jar (boo#1138295, see also upstream + recommendation in + https://gitlab.kitware.com/vtk/vtk/issues/17619). + ------------------------------------------------------------------- Wed Mar 11 13:17:49 UTC 2020 - Stefan BrĂ¼ns diff --git a/vtk.spec b/vtk.spec index 8943ba0..da80d36 100644 --- a/vtk.spec +++ b/vtk.spec @@ -378,7 +378,7 @@ export CXXFLAGS="%{optflags}" # since JDK8. %cmake \ -DBUILD_DOCUMENTATION:BOOL=ON \ - -DBUILD_EXAMPLES:BOOL=ON \ + -DBUILD_EXAMPLES:BOOL=OFF \ -DBUILD_TESTING:BOOL=OFF \ -DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \ -DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true \ @@ -559,9 +559,10 @@ python3 -c "import vtk" %dir %{my_libdir}/qt5/plugins/designer/ %{my_libdir}/qt5/plugins/designer/libQVTKWidgetPlugin.so -%if "%{flavor}" == "" -%files examples -f examples.list -%license Copyright.txt -%endif +# FIXME: UNCOMMENT WHEN VERSION 9.0 IS PACKAGED [https://gitlab.kitware.com/vtk/vtk/issues/17619] +#%%if "%%{flavor}" == "" +#%%files examples -f examples.list +#%%license Copyright.txt +#%%endif %changelog