SHA256
1
0
forked from pool/vtk

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
This commit is contained in:
Stefan Brüns 2020-04-24 11:38:20 +00:00 committed by Git OBS Bridge
parent 5d019c8388
commit 57c6e48771
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Apr 24 08:28:02 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <stefan.bruens@rwth-aachen.de> Wed Mar 11 13:17:49 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -378,7 +378,7 @@ export CXXFLAGS="%{optflags}"
# since JDK8. # since JDK8.
%cmake \ %cmake \
-DBUILD_DOCUMENTATION:BOOL=ON \ -DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=ON \ -DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \ -DBUILD_TESTING:BOOL=OFF \
-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \ -DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
-DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true \ -DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true \
@ -559,9 +559,10 @@ python3 -c "import vtk"
%dir %{my_libdir}/qt5/plugins/designer/ %dir %{my_libdir}/qt5/plugins/designer/
%{my_libdir}/qt5/plugins/designer/libQVTKWidgetPlugin.so %{my_libdir}/qt5/plugins/designer/libQVTKWidgetPlugin.so
%if "%{flavor}" == "" # FIXME: UNCOMMENT WHEN VERSION 9.0 IS PACKAGED [https://gitlab.kitware.com/vtk/vtk/issues/17619]
%files examples -f examples.list #%%if "%%{flavor}" == ""
%license Copyright.txt #%%files examples -f examples.list
%endif #%%license Copyright.txt
#%%endif
%changelog %changelog