public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/google-gson] epel10: Replace deprecated %java_remove_annotations macro with jurand
Date: Mon, 17 Aug 2026 12:39:14 GMT [thread overview]
Message-ID: <178697035427.1.17726413244991828319.rpms-google-gson-de7d35b60de1@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-17 12:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178697035427.1.17726413244991828319.rpms-google-gson-de7d35b60de1@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox