Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jhighlight for openSUSE:Factory checked in at 2022-03-22 19:41:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jhighlight (Old) and /work/SRC/openSUSE:Factory/.jhighlight.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jhighlight" Tue Mar 22 19:41:20 2022 rev:2 rq:964025 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/jhighlight/jhighlight.changes 2019-06-19 20:57:04.841914070 +0200 +++ /work/SRC/openSUSE:Factory/.jhighlight.new.25692/jhighlight.changes 2022-03-22 19:41:49.495192170 +0100 @@ -1,0 +2,5 @@ +Tue Mar 22 16:49:37 UTC 2022 - Fridrich Strba <fst...@suse.com> + +- Build with java source and target levels 8 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jhighlight.spec ++++++ --- /var/tmp/diff_new_pack.X9s780/_old 2022-03-22 19:41:49.967192665 +0100 +++ /var/tmp/diff_new_pack.X9s780/_new 2022-03-22 19:41:49.975192673 +0100 @@ -1,7 +1,7 @@ # # spec file for package jhighlight # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,12 +20,13 @@ Version: 1.0.1 Release: 0 Summary: An embeddable pure Java syntax highlighting library -License: LGPL-2.1-or-later OR CDDL-1.0 +License: CDDL-1.0 OR LGPL-2.1-or-later Group: Development/Libraries/Java URL: http://svn.rifers.org/jhighlight Source0: https://github.com/codelibs/jhighlight/archive/jhighlight-%{version}.tar.gz Patch0: servlet31.patch BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildRequires: mvn(javax.servlet:servlet-api) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) @@ -52,7 +53,11 @@ %{mvn_alias} : com.uwyn: %build -%{mvn_build} -f -- -Dsource=6 +%{mvn_build} -f -- \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=8 \ +%endif + -Dsource=8 %install %mvn_install