diff --git a/packages/j/jogl2/.files b/packages/j/jogl2/.files
index e16ddfc..1023665 100644
Binary files a/packages/j/jogl2/.files and b/packages/j/jogl2/.files differ
diff --git a/packages/j/jogl2/.rev b/packages/j/jogl2/.rev
index cf602f8..5101436 100644
--- a/packages/j/jogl2/.rev
+++ b/packages/j/jogl2/.rev
@@ -114,4 +114,12 @@ Depends on SR#545523 to fully fix ARM compilation.
952328
+
+ 215d99ff6a73aa311f48bd29f7af9502
+ 2.3.2
+
+ dimstar_suse
+ Build with source and target levels 8
+ 964044
+
diff --git a/packages/j/jogl2/jogl2.changes b/packages/j/jogl2/jogl2.changes
index 4e5df1c..74bc2ea 100644
--- a/packages/j/jogl2/jogl2.changes
+++ b/packages/j/jogl2/jogl2.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue Mar 22 17:27:29 UTC 2022 - Fridrich Strba
+
+- Build with java source and target levels 8
+
+-------------------------------------------------------------------
Sun Feb 6 20:34:29 UTC 2022 - Andreas Schwab
- jogl2-riscv64.patch: Add support for riscv64
diff --git a/packages/j/jogl2/jogl2.spec b/packages/j/jogl2/jogl2.spec
index f37ea9d..a47c382 100644
--- a/packages/j/jogl2/jogl2.spec
+++ b/packages/j/jogl2/jogl2.spec
@@ -23,7 +23,7 @@ Release: 0
Summary: Java bindings for the OpenGL API
License: BSD-2-Clause
Group: Development/Libraries/Java
-URL: http://jogamp.org/jogl/www/
+URL: https://jogamp.org/jogl/www/
Source0: http://jogamp.org/deployment/v%{version}/archive/Sources/%{src_name}.tar.xz
Patch0: %{name}-0000-update-antlr-ant-contrib-jars.patch
Patch1: %{name}-0001-update-ant-contrib-tasks.patch
@@ -45,7 +45,7 @@ BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libXxf86vm-devel
Requires: gluegen2 = %{version}
-Requires: java
+Requires: java >= 1.8
Requires: jpackage-utils
%description
@@ -109,7 +109,7 @@ ant -Dcommon.gluegen.build.done=true \
-Djavacdebug=true \
-Djavacdebuglevel=lines,vars,source \
-Dc.compiler.debug=true \
- -Djava.version=1.6 -Dant.java.version=1.6 \
+ -Djava.version=1.8 -Dant.java.version=1.8 \
-Dantlr.jar=$(build-classpath antlr) \
-Djunit.jar=$(build-classpath junit) \
-Dant.jar$(build-classpath ant) \
@@ -130,7 +130,8 @@ ln -s ../../..%{_jnidir}/%{name}.jar %{buildroot}%{_libdir}/%{name}/
install -t %{buildroot}%{_libdir}/%{name}/ build/lib/*.so
%files
-%doc README.txt LICENSE.txt CHANGELOG.txt
+%license LICENSE.txt
+%doc README.txt CHANGELOG.txt
%{_libdir}/%{name}
%{_jnidir}/%{name}.jar