Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package jboss-logging-tools for
openSUSE:Factory checked in at 2023-10-26 17:14:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jboss-logging-tools (Old)
and /work/SRC/openSUSE:Factory/.jboss-logging-tools.new.24901 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jboss-logging-tools"
Thu Oct 26 17:14:22 2023 rev:3 rq:1120420 version:2.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/jboss-logging-tools/jboss-logging-tools.changes
2020-07-08 19:12:32.695016072 +0200
+++
/work/SRC/openSUSE:Factory/.jboss-logging-tools.new.24901/jboss-logging-tools.changes
2023-10-26 17:15:32.062726755 +0200
@@ -1,0 +2,5 @@
+Thu Oct 26 04:57:21 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Avoid incompatibilities in jdk 21 by building with release 8
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jboss-logging-tools.spec ++++++
--- /var/tmp/diff_new_pack.ngTv8g/_old 2023-10-26 17:15:33.102764952 +0200
+++ /var/tmp/diff_new_pack.ngTv8g/_new 2023-10-26 17:15:33.106765099 +0200
@@ -1,7 +1,7 @@
#
# spec file for package jboss-logging-tools
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2020 Stasiek Michalski <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
@@ -28,6 +28,7 @@
Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
Patch0: reproducible.patch
BuildRequires: fdupes
+BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: mvn(org.jboss.jdeparser:jdeparser)
BuildRequires: mvn(org.jboss.logging:jboss-logging)
@@ -54,7 +55,11 @@
%pom_disable_module docs
%build
-%{mvn_build} -f -- -Dsource=8
+%{mvn_build} -f -- \
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
+ -Dmaven.compiler.release=8 \
+%endif
+ -Dsource=8
%fdupes -s %{buildroot}/%{_javadocdir}