Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package checkstyle for openSUSE:Factory 
checked in at 2021-05-11 23:04:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/checkstyle (Old)
 and      /work/SRC/openSUSE:Factory/.checkstyle.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "checkstyle"

Tue May 11 23:04:06 2021 rev:2 rq:892283 version:8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/checkstyle/checkstyle.changes    2020-03-09 
14:17:37.798674546 +0100
+++ /work/SRC/openSUSE:Factory/.checkstyle.new.2988/checkstyle.changes  
2021-05-11 23:04:10.184955118 +0200
@@ -1,0 +2,8 @@
+Tue May 11 05:17:30 UTC 2021 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * checkstyle-8.0-guava.patch
+    + fix build against newer guava that does not have the
+      deprecated CharMatcher constants
+
+-------------------------------------------------------------------

New:
----
  checkstyle-8.0-guava.patch

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

Other differences:
------------------
++++++ checkstyle.spec ++++++
--- /var/tmp/diff_new_pack.LPRzWf/_old  2021-05-11 23:04:10.764952473 +0200
+++ /var/tmp/diff_new_pack.LPRzWf/_new  2021-05-11 23:04:10.764952473 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package checkstyle
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2000-2005, JPackage Project
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,6 +26,7 @@
 URL:            http://checkstyle.sourceforge.net/
 Source0:        
http://download.sf.net/checkstyle/checkstyle-%{version}-src.tar.gz
 Source2:        %{name}.catalog
+Patch0:         checkstyle-8.0-guava.patch
 BuildRequires:  ant
 BuildRequires:  fdupes
 BuildRequires:  maven-local
@@ -60,6 +61,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %pom_remove_parent
 

++++++ checkstyle-8.0-guava.patch ++++++
--- 
checkstyle-8.0/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/SummaryJavadocCheck.java
        2021-05-11 07:12:44.130695340 +0200
+++ 
checkstyle-8.0/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/SummaryJavadocCheck.java
        2021-05-11 07:12:56.534766508 +0200
@@ -216,7 +216,7 @@
     private boolean containsForbiddenFragment(String firstSentence) {
         String javadocText = JAVADOC_MULTILINE_TO_SINGLELINE_PATTERN
                 .matcher(firstSentence).replaceAll(" ");
-        javadocText = CharMatcher.WHITESPACE.trimAndCollapseFrom(javadocText, 
' ');
+        javadocText = 
CharMatcher.whitespace().trimAndCollapseFrom(javadocText, ' ');
         return forbiddenSummaryFragments.matcher(javadocText).find();
     }
 }

Reply via email to