Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tzdb for openSUSE:Factory checked in at 2023-11-01 22:09:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tzdb (Old) and /work/SRC/openSUSE:Factory/.tzdb.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tzdb" Wed Nov 1 22:09:59 2023 rev:4 rq:1121516 version:1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/tzdb/tzdb.changes 2017-11-10 14:42:09.173152139 +0100 +++ /work/SRC/openSUSE:Factory/.tzdb.new.17445/tzdb.changes 2023-11-01 22:10:46.677439949 +0100 @@ -1,0 +2,6 @@ +Tue Oct 31 22:29:59 UTC 2023 - Fridrich Strba <[email protected]> + +- Build with source/target 8 when using JDK that does not support + level 7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tzdb.spec ++++++ --- /var/tmp/diff_new_pack.2COwWz/_old 2023-11-01 22:10:47.205459510 +0100 +++ /var/tmp/diff_new_pack.2COwWz/_new 2023-11-01 22:10:47.209459658 +0100 @@ -1,7 +1,7 @@ # # spec file for package tzdb # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Summary: Time zone rules compiler Java License: GPL-2.0-with-classpath-exception Group: Development/Libraries/Java -Url: http://icedtea.classpath.org +URL: http://icedtea.classpath.org Source0: tzdb-%{version}-37392f2f5d59.tar.xz BuildRequires: java-devel >= 1.7 BuildRequires: xz @@ -36,7 +36,13 @@ %setup -q %{name}-%{version} %build -javac -source 7 -target 7 -classpath . $(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.tzdb.TzdbZoneRulesCompiler" > manifest.txt jar -cfm %{name}-%{version}.jar manifest.txt $(find . -iname '*.class')
