Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package javazic for openSUSE:Factory checked in at 2023-11-01 22:09:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/javazic (Old) and /work/SRC/openSUSE:Factory/.javazic.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "javazic" Wed Nov 1 22:09:57 2023 rev:15 rq:1121515 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/javazic/javazic.changes 2022-04-08 22:46:35.466558189 +0200 +++ /work/SRC/openSUSE:Factory/.javazic.new.17445/javazic.changes 2023-11-01 22:10:45.597399940 +0100 @@ -1,0 +2,6 @@ +Tue Oct 31 22:29:59 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- Build with source/target 8 when using JDK that does not support + level 7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ javazic.spec ++++++ --- /var/tmp/diff_new_pack.VJoduV/_old 2023-11-01 22:10:46.029415944 +0100 +++ /var/tmp/diff_new_pack.VJoduV/_new 2023-11-01 22:10:46.029415944 +0100 @@ -1,7 +1,7 @@ # # spec file for package javazic # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,13 @@ %setup -q -c %{name}-%{version} %build -javac -source 7 -target 7 $(find build/ -iname '*.java') +javac \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 18}%{!?pkg_vcmp:0} + -source 8 -target 8 \ +%else + -source 7 -target 7 \ +%endif + $(find build/ -iname '*.java') echo "Main-Class: build.tools.javazic.Main" > manifest.txt jar -cfm %{name}-%{version}.jar manifest.txt $(find . -iname '*.class')