Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package netty-tcnative for openSUSE:Factory 
checked in at 2022-03-24 22:58:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netty-tcnative (Old)
 and      /work/SRC/openSUSE:Factory/.netty-tcnative.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netty-tcnative"

Thu Mar 24 22:58:00 2022 rev:4 rq:964425 version:2.0.36

Changes:
--------
--- /work/SRC/openSUSE:Factory/netty-tcnative/netty-tcnative.changes    
2021-03-25 14:52:20.756486724 +0100
+++ /work/SRC/openSUSE:Factory/.netty-tcnative.new.1900/netty-tcnative.changes  
2022-03-24 22:59:58.696365093 +0100
@@ -1,0 +2,5 @@
+Wed Mar 23 07:44:54 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build with java source and target levels 1.8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ netty-tcnative.spec ++++++
--- /var/tmp/diff_new_pack.tTe9DT/_old  2022-03-24 22:59:59.116365498 +0100
+++ /var/tmp/diff_new_pack.tTe9DT/_new  2022-03-24 22:59:59.120365502 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package netty-tcnative
 #
-# 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
@@ -28,6 +28,7 @@
 Source1:        fixLibNames.patch.in
 BuildRequires:  fdupes
 BuildRequires:  gcc
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  libtcnative-1-0
 BuildRequires:  maven-local
 BuildRequires:  mvn(io.netty:netty-jni-util::sources:)
@@ -73,7 +74,11 @@
 %pom_xpath_remove pom:project/pom:profiles openssl-dynamic
 
 %build
-%{mvn_build} -f -- -Dsource=7
+%{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