public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/google-gson] epel10: Replace deprecated %java_remove_annotations macro with jurand
@ 2026-08-17 12:39
0 siblings, 0 replies; only message in thread
From: @ 2026-08-17 12:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/google-gson
Branch : epel10
Commit : de7d35b60de181d1ec6b2f0b59e629abf301e3c1
Author : Ondřej Pohořelský <opohorel@redhat.com>
Date : 2026-02-19T14:58:07+01:00
Stats : +1/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/google-gson/c/de7d35b60de181d1ec6b2f0b59e629abf301e3c1?branch=epel10
Log:
Replace deprecated %java_remove_annotations macro with jurand
The %java_remove_annotations RPM macro has been removed from jurand.
Use the jurand executable directly instead with -a flag for annotation
removal.
---
diff --git a/google-gson.spec b/google-gson.spec
index f767f41..e937f5d 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -40,8 +40,7 @@ pre-existing objects that you do not have source-code of.
%pom_remove_plugin :maven-compiler-plugin
%pom_remove_dep -r :error_prone_annotations
-%java_remove_annotations gson extras -s \
- -p com[.]google[.]errorprone[.]annotations[.] \
+jurand -i -s -a gson extras -p com[.]google[.]errorprone[.]annotations[.]
# The test EnumWithObfuscatedTest requires the plugins copy-rename-maven-plugin, proguard-maven-plugin and maven-resources-plugin to work correctly because it tests Gson interaction with a class obfuscated by ProGuard.
# https://github.com/google/gson/issues/2045
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 12:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 12:39 [rpms/google-gson] epel10: Replace deprecated %java_remove_annotations macro with jurand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox