Force annotation processing, since it is needed with Java 25

This commit is contained in:
Fridrich Štrba
2025-10-23 21:02:51 +02:00
parent 55a9ed5bb6
commit 0adef1aa37
2 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package opencensus-java
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -281,7 +281,7 @@ done
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \
%endif
-Dsource=8
-Dsource=8 -Dmaven.compiler.proc=full
%install
%mvn_install