Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package woodstox-core for openSUSE:Factory 
checked in at 2022-03-23 20:18:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/woodstox-core (Old)
 and      /work/SRC/openSUSE:Factory/.woodstox-core.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "woodstox-core"

Wed Mar 23 20:18:55 2022 rev:5 rq:964269 version:6.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/woodstox-core/woodstox-core.changes      
2021-06-07 22:44:37.392598885 +0200
+++ /work/SRC/openSUSE:Factory/.woodstox-core.new.25692/woodstox-core.changes   
2022-03-23 20:20:43.174542232 +0100
@@ -1,0 +2,5 @@
+Wed Mar 23 11:36:02 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Build with java source and target levels 8
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ woodstox-core.spec ++++++
--- /var/tmp/diff_new_pack.J4f1wy/_old  2022-03-23 20:20:43.698542528 +0100
+++ /var/tmp/diff_new_pack.J4f1wy/_new  2022-03-23 20:20:43.702542531 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# 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
@@ -27,6 +27,7 @@
 URL:            https://github.com/FasterXML/woodstox
 Source0:        
https://github.com/FasterXML/%{base_name}/archive/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(com.fasterxml:oss-parent:pom:)
 BuildRequires:  mvn(junit:junit)
@@ -71,7 +72,11 @@
 %{mvn_file} : %{name}{,-asl,-lgpl}
 
 %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

Reply via email to