Set Java source/target version to 8 (FTBFS bz#2272954)

This commit is contained in:
Orion Poplawski 2024-04-09 21:06:59 -06:00
parent 1a9901bfad
commit 3300be518b

View File

@ -54,7 +54,7 @@
Summary: The Visualization Toolkit - A high level 3D visualization library
Name: vtk
Version: 9.2.6
Release: 13%{?dist}
Release: 14%{?dist}
License: BSD-3-Clause
Source0: https://www.vtk.org/files/release/9.2/VTK-%{version}.tar.gz
Source1: https://www.vtk.org/files/release/9.2/VTKData-%{version}.tar.gz
@ -559,6 +559,8 @@ find vtk-examples -type f | xargs chmod -R a-x
%endif \
%if %{with java} \
-DVTK_WRAP_JAVA:BOOL=ON \\\
-DVTK_JAVA_SOURCE_VERSION=8 \\\
-DVTK_JAVA_TARGET_VERSION=8 \\\
-DJAVA_INCLUDE_PATH:PATH=$JAVA_HOME/include \\\
-DJAVA_INCLUDE_PATH2:PATH=$JAVA_HOME/include/linux \\\
-DJAVA_AWT_INCLUDE_PATH:PATH=$JAVA_HOME/include \\\
@ -844,6 +846,9 @@ cat xorg.log
%changelog
* Wed Apr 10 2024 Orion Poplawski <orion@nwra.com> - 9.2.6-14
- Set Java source/target version to 8 (FTBFS bz#2272954)
* Sat Feb 24 2024 David Abdurachmanov <davidlt@rivosinc.com> - 9.2.6-13
- Reduce memory and ncpu usage during riscv64 builds