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:
parent
5d019c8388
commit
57c6e48771
@ -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>
|
||||
|
||||
|
11
vtk.spec
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user