Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package javacc-maven-plugin for 
openSUSE:Factory checked in at 2022-03-22 19:40:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/javacc-maven-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.javacc-maven-plugin.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "javacc-maven-plugin"

Tue Mar 22 19:40:33 2022 rev:2 rq:963928 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/javacc-maven-plugin/javacc-maven-plugin.changes  
2019-04-12 09:14:53.785694654 +0200
+++ 
/work/SRC/openSUSE:Factory/.javacc-maven-plugin.new.25692/javacc-maven-plugin.changes
       2022-03-22 19:40:38.451117645 +0100
@@ -1,0 +2,5 @@
+Tue Mar 22 12:22:49 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Build with java source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ javacc-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.3P10Jt/_old  2022-03-22 19:40:39.031118253 +0100
+++ /var/tmp/diff_new_pack.3P10Jt/_new  2022-03-22 19:40:39.031118253 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package javacc-maven-plugin
 #
-# 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
@@ -29,6 +29,7 @@
 Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
 Patch0:         javacc-maven-plugin-pom.patch
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(net.java.dev.javacc:javacc)
 BuildRequires:  mvn(org.apache.maven.doxia:doxia-sink-api)
@@ -59,7 +60,11 @@
 cp -p %{SOURCE1} .
 
 %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