File project.diff of Package jmh

--- jmh.spec.orig
+++ jmh.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package jmh
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 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
@@ -17,7 +17,7 @@
 
 
 Name:           jmh
-Version:        1.34
+Version:        1.37
 Release:        0
 Summary:        Java Microbenchmark Harness
 License:        GPL-2.0-only WITH Classpath-exception-2.0
@@ -27,6 +27,8 @@ BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(junit:junit)
+BuildRequires:  mvn(net.java.dev.jna:jna)
+BuildRequires:  mvn(net.java.dev.jna:jna-platform)
 BuildRequires:  mvn(net.sf.jopt-simple:jopt-simple)
 BuildRequires:  mvn(org.apache.commons:commons-math3)
 BuildRequires:  mvn(org.ow2.asm:asm)
@@ -130,7 +132,7 @@ rm -r %{name}-core/src/test/java/org/ope
 sed -i "s,59,51,;s,Temple Place,Franklin Street,;s,Suite 330,Fifth Floor,;s,02111-1307,02110-1301," src/license/gpl_cpe/license.txt
 
 %build
-%{mvn_build} -sf -- -Dsource=8 -Dproject.build.sourceEncoding=UTF-8
+%{mvn_build} -sf -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.incrementalCompilation=classes -DlegacyMode=true
 
 %install
 %mvn_install
openSUSE Build Service is sponsored by