public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jetbrains-annotations] epel10: Avoid unexpanded macro in package %description
@ 2026-07-16 21:32 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-16 21:32 UTC (permalink / raw)
  To: git-commits

            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}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-16 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 21:32 [rpms/jetbrains-annotations] epel10: Avoid unexpanded macro in package %description 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox