Script 'mail_helper' called by obssrc
Hello community,

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

Package is "google-gson"

Tue Mar 22 19:40:14 2022 rev:3 rq:963891 version:2.8.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/google-gson/google-gson.changes  2021-10-19 
23:04:10.117282246 +0200
+++ /work/SRC/openSUSE:Factory/.google-gson.new.25692/google-gson.changes       
2022-03-22 19:40:19.615097886 +0100
@@ -1,0 +2,5 @@
+Tue Mar 22 10:06:36 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build with source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ google-gson.spec ++++++
--- /var/tmp/diff_new_pack.ExoTpU/_old  2022-03-22 19:40:20.155098452 +0100
+++ /var/tmp/diff_new_pack.ExoTpU/_new  2022-03-22 19:40:20.159098456 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package google-gson
 #
-# Copyright (c) 2021 SUSE LLC
+# 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 @@
 # Remove dependency on unavailable templating-maven-plugin
 Patch3:         no-template-plugin.patch
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
 BuildArch:      noarch
@@ -77,7 +78,11 @@
   </executions>"
 
 %build
-%{mvn_build} -f
+%{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