Script 'mail_helper' called by obssrc
Hello community,

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

Package is "spec-version-maven-plugin"

Wed Mar 23 20:18:45 2022 rev:2 rq:964248 version:1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/spec-version-maven-plugin/spec-version-maven-plugin.changes
      2019-06-19 20:55:45.309845126 +0200
+++ 
/work/SRC/openSUSE:Factory/.spec-version-maven-plugin.new.25692/spec-version-maven-plugin.changes
   2022-03-23 20:20:35.050537636 +0100
@@ -1,0 +2,5 @@
+Wed Mar 23 10:49:46 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Build with java source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ spec-version-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.Ol9GK5/_old  2022-03-23 20:20:35.490537885 +0100
+++ /var/tmp/diff_new_pack.Ol9GK5/_new  2022-03-23 20:20:35.494537888 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spec-version-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
@@ -22,11 +22,12 @@
 Summary:        Spec Version Maven Plugin
 License:        CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0
 Group:          Development/Libraries/Java
-URL:            http://glassfish.java.net/
+URL:            https://glassfish.java.net/
 Source0:        
https://github.com/javaee/spec-version-maven-plugin/archive/%{version}.tar.gz
 Source1:        
https://github.com/javaee/spec-version-maven-plugin/raw/master/LICENSE
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(net.java:jvnet-parent:pom:)
 BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
@@ -60,7 +61,11 @@
 
 %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