From 60bbd457462412a13eee75662109da47453ffc8d03a993765b55bce942c77487 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 20 May 2022 19:20:34 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/guava?expand=0&rev=21 --- guava.changes | 5 +++++ guava.spec | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/guava.changes b/guava.changes index dd6d71b..cae0ffa 100644 --- a/guava.changes +++ b/guava.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 20 19:19:29 UTC 2022 - Fridrich Strba + +- Make the annotation artifact hard dependency + ------------------------------------------------------------------- Wed May 18 17:26:01 UTC 2022 - Fridrich Strba diff --git a/guava.spec b/guava.spec index bdbaf1d..a801b0e 100644 --- a/guava.spec +++ b/guava.spec @@ -33,7 +33,6 @@ BuildRequires: j2objc-annotations BuildRequires: javapackages-local BuildRequires: jsr-305 BuildRequires: junit -Requires: mvn(com.google.code.findbugs:jsr305) BuildArch: noarch %description @@ -83,10 +82,6 @@ for mod in guava guava-testlib futures/failureaccess; do %{version}' ${mod} done -%pom_change_dep -r :error_prone_annotations :::provided -%pom_change_dep -r :j2objc-annotations :::provided -%pom_change_dep -r org.checkerframework: :::provided - %pom_change_dep -r -f :::: :::: %build From 8b6f0a4a60330bee45fa9e04f82808c4f297eabea947b4f2df5d710b96c81dcf Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sat, 21 May 2022 06:43:50 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/guava?expand=0&rev=22 --- guava.changes | 5 ----- guava.spec | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/guava.changes b/guava.changes index cae0ffa..dd6d71b 100644 --- a/guava.changes +++ b/guava.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Fri May 20 19:19:29 UTC 2022 - Fridrich Strba - -- Make the annotation artifact hard dependency - ------------------------------------------------------------------- Wed May 18 17:26:01 UTC 2022 - Fridrich Strba diff --git a/guava.spec b/guava.spec index a801b0e..bdbaf1d 100644 --- a/guava.spec +++ b/guava.spec @@ -33,6 +33,7 @@ BuildRequires: j2objc-annotations BuildRequires: javapackages-local BuildRequires: jsr-305 BuildRequires: junit +Requires: mvn(com.google.code.findbugs:jsr305) BuildArch: noarch %description @@ -82,6 +83,10 @@ for mod in guava guava-testlib futures/failureaccess; do %{version}' ${mod} done +%pom_change_dep -r :error_prone_annotations :::provided +%pom_change_dep -r :j2objc-annotations :::provided +%pom_change_dep -r org.checkerframework: :::provided + %pom_change_dep -r -f :::: :::: %build From e4ee8160a8fb7d0347a43d320a3695ff56ebc170841dcb89ce51bb76938ea682 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 25 May 2022 14:03:10 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/guava?expand=0&rev=23 --- guava.changes | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/guava.changes b/guava.changes index dd6d71b..c76950f 100644 --- a/guava.changes +++ b/guava.changes @@ -2,6 +2,50 @@ Wed May 18 17:26:01 UTC 2022 - Fridrich Strba - Upgrade to guava 31.1 + * Fixes: + + base: Deprecated the Throwables methods lazyStackTrace and + lazyStackTraceIsLazy. They are no longer useful on any current + platform. + + collect: Added a new method + ImmutableMap.Builder.buildKeepingLast(), which keeps the last + value for any given key rather than throwing an exception when + a key appears more than once. + + collect: As a side-effect of the buildKeepingLast() change, + the idiom + ImmutableList.copyOf(Maps.transformValues(map, function)) + may produce different results if function has side-effects. + + hash: Added Hashing.fingerprint2011(). + + io: Changed ByteStreams.nullOutputStream() to follow the + contract of OutputStream.write by throwing an exception if + the range of bytes is out of bounds. + + net: Added @CheckReturnValue to the package (with a few + exceptions). + + net: Added HttpHeaders constant for + Access-Control-Allow-Private-Network. + + util.concurrent: Added accumulate/update methods for + AtomicDouble and AtomicDoubleArray. + * APIs promoted from @Beta: + + base: Throwables methods getCausalChain and getCauseAs + + collect: Streams methods mapWithIndex and findLast + + collect: the remaining methods in Comparators: min, max, + lexicographical, emptiesFirst, emptiesLast, isInOrder, + isInStrictOrder + + escape: various APIs + + io: various APIs in Files + + net: various APIs + + reflect: various APIs + + testlib: various APIs + + util.concurrent: AsyncCallable, ListenableScheduledFuture, + and ClosingFuture + + util.concurrent: ExecutionSequencer, + MoreExecutors.newSequentialExecutor, and Monitor + + util.concurrent: Futures methods: submit, submitAsync, + scheduleAsync, nonCancellationPropagating, inCompletionOrder + + util.concurrent: Uninterruptibles: + awaitTerminationUninterruptibly and the Duration overloads in + the class + + util.concurrent: the FluentFuture type, its factory methods, + and addCallback * Remove the hack of removing annotations, since we have now all the required dependencies packaged - Removed patch: @@ -17,6 +61,14 @@ Fri Mar 11 12:13:02 UTC 2022 - Fridrich Strba Mon May 10 14:59:41 UTC 2021 - Fridrich Strba - Upgrade to guava 30.1.1 + * Fixes: + + cache: Fixed compatibility between asMap().compute(...) + and a load. + + cache: Added @CheckReturnValue to some APIs. + + collect: Added @DoNotCall to the mutator methods on immutable + types + + hash: Removed @Beta from HashCode. + + io: Removed @Beta from CountingOutputStream. * fixes bsc#1179926, CVE-2020-8908: temp directory creation vulnerability in Guava versions prior to 30.0 - Removed patch: