Script 'mail_helper' called by obssrc
Hello community,

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

Package is "string-template-maven-plugin"

Wed Mar 23 20:18:47 2022 rev:2 rq:964251 version:1.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/string-template-maven-plugin/string-template-maven-plugin.changes
        2019-11-06 13:56:11.932162482 +0100
+++ 
/work/SRC/openSUSE:Factory/.string-template-maven-plugin.new.25692/string-template-maven-plugin.changes
     2022-03-23 20:20:36.302538344 +0100
@@ -1,0 +2,5 @@
+Wed Mar 23 10:55:25 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build with java source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ string-template-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.m1gqDt/_old  2022-03-23 20:20:36.698538568 +0100
+++ /var/tmp/diff_new_pack.m1gqDt/_new  2022-03-23 20:20:36.702538570 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package string-template-maven-plugin
 #
-# Copyright (c) 2019 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
@@ -26,6 +26,7 @@
 Source0:        
https://github.com/kevinbirch/%{name}/archive/%{name}-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/kevinbirch/%{name}/master/LICENSE
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(org.antlr:ST4)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-enforcer-plugin)
@@ -62,7 +63,11 @@
        src/main/java/com/webguys/maven/plugin/st/Controller.java
 
 %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