Script 'mail_helper' called by obssrc
Hello community,

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

Package is "httpcomponents-asyncclient"

Tue Mar 22 19:40:17 2022 rev:2 rq:963898 version:4.1.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/httpcomponents-asyncclient/httpcomponents-asyncclient.changes
    2020-07-24 09:58:34.777565762 +0200
+++ 
/work/SRC/openSUSE:Factory/.httpcomponents-asyncclient.new.25692/httpcomponents-asyncclient.changes
 2022-03-22 19:40:23.287101737 +0100
@@ -1,0 +2,5 @@
+Tue Mar 22 10:38:56 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Build with java source and target levels 8
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ httpcomponents-asyncclient.spec ++++++
--- /var/tmp/diff_new_pack.8kqC0c/_old  2022-03-22 19:40:23.847102325 +0100
+++ /var/tmp/diff_new_pack.8kqC0c/_new  2022-03-22 19:40:23.851102328 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package httpcomponents-asyncclient
 #
-# Copyright (c) 2020 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
@@ -25,6 +25,7 @@
 URL:            https://hc.apache.org/
 Source0:        
https://archive.apache.org/dist/httpcomponents/httpasyncclient/source/%{name}-%{version}-src.tar.gz
 BuildRequires:  fdupes
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
 BuildRequires:  mvn(commons-logging:commons-logging)
 BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
@@ -107,7 +108,11 @@
 
 %build
 
-%{mvn_build} -f -s -- -Dproject.build.sourceEncoding=UTF-8
+%{mvn_build} -f -s -- \
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
+       -Dmaven.compiler.release=8 \
+%endif
+    -Dsource=8 -Dproject.build.sourceEncoding=UTF-8
 
 %install
 %mvn_install

Reply via email to