Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package antlr-maven-plugin for 
openSUSE:Factory checked in at 2022-03-21 20:13:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/antlr-maven-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.antlr-maven-plugin.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "antlr-maven-plugin"

Mon Mar 21 20:13:13 2022 rev:3 rq:963726 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/antlr-maven-plugin/antlr-maven-plugin.changes    
2022-03-11 21:41:35.222085379 +0100
+++ 
/work/SRC/openSUSE:Factory/.antlr-maven-plugin.new.25692/antlr-maven-plugin.changes
 2022-03-21 20:13:32.420530358 +0100
@@ -1,0 +2,5 @@
+Mon Mar 21 14:49:53 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Build with maven.compiler.release=8 on any JDK >= 9
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ antlr-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.49F9LV/_old  2022-03-21 20:13:32.924530845 +0100
+++ /var/tmp/diff_new_pack.49F9LV/_new  2022-03-21 20:13:32.928530848 +0100
@@ -23,7 +23,7 @@
 License:        Apache-2.0
 Group:          Development/Libraries/Java
 URL:            http://mojo.codehaus.org/antlr-maven-plugin/
-Source0:        
http://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
+Source0:        
https://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
 # Modern modello expects to see <models></models>, even if there is only one.
 Patch0:         maven-antlr-plugin-2.2-modello-issue.patch
 # siteRenderer.createSink doesn't exist anymore
@@ -32,6 +32,7 @@
 Patch3:         0001-MANTLR-34-Fix-NPE-when-building-Jenkins.patch
 Patch4:         new-reporting-api.patch
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  unzip
 BuildRequires:  mvn(org.apache.commons:commons-exec)
@@ -80,7 +81,11 @@
 %{mvn_file} : %{name}
 
 %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