public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/jetbrains-annotations] epel10: Avoid unexpanded macro in package %description
Date: Thu, 16 Jul 2026 21:32:44 GMT	[thread overview]
Message-ID: <178423756428.1.5560534674997349333.rpms-jetbrains-annotations-fd0ae41c557e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/jetbrains-annotations
            Branch : epel10
            Commit : fd0ae41c557e8160294df23ed97ff3606e6de93c
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
            Date   : 2024-11-08T16:30:53+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/jetbrains-annotations/c/fd0ae41c557e8160294df23ed97ff3606e6de93c?branch=epel10

            Log:
            Avoid unexpanded macro in package %description

When the srpm is built in koji, %javadoc_package is not expanded and
the macro name ends up in the description, which is not very elegant.
Also, when the rebuild is done in an environment with more packages,
the macro is expanded and this is flagged as a difference.

---
diff --git a/jetbrains-annotations.spec b/jetbrains-annotations.spec
index 375e93b..20517e1 100644
--- a/jetbrains-annotations.spec
+++ b/jetbrains-annotations.spec
@@ -22,7 +22,7 @@ This package contains a set of Java annotations which can be used in
 JVM-based languages.  They serve as additional documentation and can be
 interpreted by IDEs and static analysis tools to improve code analysis.
 
-%javadoc_package
+%{?javadoc_package}
 
 %prep
 %autosetup -n java-annotations-%{version}

                 reply	other threads:[~2026-07-16 21:32 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=178423756428.1.5560534674997349333.rpms-jetbrains-annotations-fd0ae41c557e@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