Script 'mail_helper' called by obssrc
Hello community,

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

Package is "checkstyle"

Tue Mar 22 19:39:53 2022 rev:3 rq:963834 version:8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/checkstyle/checkstyle.changes    2021-05-11 
23:04:10.184955118 +0200
+++ /work/SRC/openSUSE:Factory/.checkstyle.new.25692/checkstyle.changes 
2022-03-22 19:39:55.615072709 +0100
@@ -1,0 +2,8 @@
+Tue Mar 22 07:12:16 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Force building with jdk < 13, since it uses APIs removed in
+  JDK 13
+- Fix build on systems where the JDK does not contain the JavaEE
+  modules
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ checkstyle.spec ++++++
--- /var/tmp/diff_new_pack.6hqc1D/_old  2022-03-22 19:39:56.219073342 +0100
+++ /var/tmp/diff_new_pack.6hqc1D/_new  2022-03-22 19:39:56.223073347 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package checkstyle
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2000-2005, JPackage Project
 #
 # All modifications and additions to the file contributed by third parties
@@ -43,11 +43,15 @@
 BuildRequires:  mvn(org.apache.maven.plugins:maven-failsafe-plugin)
 BuildRequires:  mvn(org.codehaus.mojo:antlr-maven-plugin)
 BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
+BuildConflicts: java >= 13
+BuildConflicts: java-devel >= 13
+BuildConflicts: java-headless >= 13
 #!BuildRequires: stringtemplate4
-# Explicit requires for javapackages-tools since checkstyle-script
-# uses /usr/share/java-utils/java-functions
 Requires:       javapackages-tools
 BuildArch:      noarch
+%if 0%{?suse_version} > 1500
+BuildRequires:  mvn(javax.xml.bind:jaxb-api)
+%endif
 
 %description
 A tool for checking Java source code for adherence to a set of rules.
@@ -82,9 +86,10 @@
 %pom_remove_plugin :forbiddenapis
 %pom_remove_plugin :spotbugs-maven-plugin
 
-# get rid of system scope
 %pom_remove_dep com.sun:tools
-%pom_add_dep com.sun:tools::provided
+%if 0%{?suse_version} > 1500
+%pom_add_dep javax.xml.bind:jaxb-api
+%endif
 
 # fix encoding issues in docs
 sed -i 's/\r//' LICENSE LICENSE.apache20 README.md
@@ -97,9 +102,7 @@
 
 %build
 %{mvn_file}  : %{name}
-# Tests are skipped due to unavailable test dependencies
-# (com.github.stefanbirkner:system-rules:jar:1.9.0 and
-# nl.jqno.equalsverifier:equalsverifier:jar:1.7.2)
+
 %{mvn_build} -f
 
 %install

Reply via email to