Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package stax-ex for openSUSE:Factory checked 
in at 2022-03-18 16:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/stax-ex (Old)
 and      /work/SRC/openSUSE:Factory/.stax-ex.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "stax-ex"

Fri Mar 18 16:42:51 2022 rev:2 rq:962717 version:1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/stax-ex/stax-ex.changes  2020-03-19 
19:54:31.656278161 +0100
+++ /work/SRC/openSUSE:Factory/.stax-ex.new.25692/stax-ex.changes       
2022-03-18 16:43:11.541226705 +0100
@@ -1,0 +2,8 @@
+Thu Mar 17 13:26:15 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Build against the standalone activation-api and jaxb-api on
+  distributions that have a JDK without the JavaEE modules.
+- Use the include JavaEE modules on distributions that have a
+  JDK that includes them.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ stax-ex.spec ++++++
--- /var/tmp/diff_new_pack.DewCIf/_old  2022-03-18 16:43:11.949226998 +0100
+++ /var/tmp/diff_new_pack.DewCIf/_new  2022-03-18 16:43:11.953227000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package stax-ex
 #
-# 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
@@ -28,10 +28,13 @@
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 9
 BuildRequires:  maven-local
-BuildRequires:  mvn(javax.activation:activation)
 BuildRequires:  mvn(net.java:jvnet-parent:pom:)
 BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
 BuildArch:      noarch
+%if 0%{?suse_version} > 1500
+BuildRequires:  mvn(javax.activation:activation)
+BuildRequires:  mvn(javax.xml.bind:jaxb-api)
+%endif
 
 %description
 This project develops a few extensions to complement JSR-173 StAX API in the
@@ -65,6 +68,12 @@
 %pom_remove_plugin :maven-deploy-plugin
 %pom_remove_plugin :maven-enforcer-plugin
 
+%if 0%{?suse_version} > 1500
+%pom_add_dep javax.xml.bind:jaxb-api::provided
+%else
+%pom_remove_dep javax.activation:activation
+%endif
+
 # Convert the license to UTF-8:
 mv LICENSE.txt LICENSE.txt.tmp
 iconv -f ISO-8859-1 -t UTF-8 LICENSE.txt.tmp > LICENSE.txt
@@ -77,7 +86,7 @@
 %build
 pushd %{name}
 
-%{mvn_build} -f -- -Dproject.build.sourceEncoding=UTF-8
+%{mvn_build} -f -- -Dproject.build.sourceEncoding=UTF-8 -Dsource=8
 popd
 
 %install

Reply via email to