Script 'mail_helper' called by obssrc
Hello community,

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

Package is "xml-maven-plugin"

Wed Mar 23 20:18:17 2022 rev:2 rq:964154 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/xml-maven-plugin/xml-maven-plugin.changes        
2019-11-04 17:15:05.984818368 +0100
+++ 
/work/SRC/openSUSE:Factory/.xml-maven-plugin.new.25692/xml-maven-plugin.changes 
    2022-03-23 20:20:14.930526253 +0100
@@ -1,0 +2,5 @@
+Wed Mar 23 06:00:36 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build with source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xml-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.nX3KSb/_old  2022-03-23 20:20:15.334526482 +0100
+++ /var/tmp/diff_new_pack.nX3KSb/_new  2022-03-23 20:20:15.338526484 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xml-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
@@ -22,10 +22,12 @@
 Summary:        Maven XML Plugin
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://www.mojohaus.org/xml-maven-plugin/
-Source0:        
http://repo2.maven.org/maven2/org/codehaus/mojo/xml-maven-plugin/%{version}/xml-maven-plugin-%{version}-source-release.zip
+URL:            https://www.mojohaus.org/xml-maven-plugin/
+Source0:        
https://repo1.maven.org/maven2/org/codehaus/mojo/xml-maven-plugin/%{version}/xml-maven-plugin-%{version}-source-release.zip
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
+BuildRequires:  unzip
 BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-invoker-plugin)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
@@ -36,7 +38,6 @@
 BuildRequires:  mvn(org.codehaus.plexus:plexus-resources)
 BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
 BuildRequires:  mvn(xml-resolver:xml-resolver)
-BuildRequires:  unzip
 BuildArch:      noarch
 
 %description
@@ -60,7 +61,11 @@
 sed -i 's|stylesheet |stylesheet version="1.0" |'  
src/it/it8/src/main/xsl/it8.xsl
 
 %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