From 57c6e4877181812ad89d100cd862c8d2142b417f6a77526ea29871f5ca1b84c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Fri, 24 Apr 2020 11:38:20 +0000 Subject: [PATCH] Accepting request 797095 from home:badshah400:branches:science - 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). OBS-URL: https://build.opensuse.org/request/show/797095 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=152 --- vtk.changes | 8 ++++++++ vtk.spec | 11 ++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) 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