No description
Find a file
Troy Redfearn 7b91389cc4
All checks were successful
build-rpm / setup (push) Successful in 3s
build-rpm / build (el10) (push) Successful in 9m8s
build-rpm / build (el8) (push) Successful in 5m36s
build-rpm / build (el9) (push) Successful in 7m35s
ldms: escape %% in %prep comment to stop stray macro expansion
RPM expands macros inside %prep/%build/%install comment lines too --
the leading # is only a shell comment there, not an RPM one, so any
bare %macroname inside scriptlet-section comment text still gets
expanded before the shell ever sees it. The previous commit's comment
literally read "...%autosetup's %autopatch step defaults..."), which
rpm expanded as a real %autopatch invocation with a stray positional
arg "step", failing the 4.5.2-4 CI build with "no such patch step" /
"error expanding macro" in %autopatch's lua script. The rest of this
spec already double-escapes %% in comments for this exact reason; this
one was just missed. No functional change to the real %autosetup -p1
invocation itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5TMmTMs7q5HYfRFZf6Qhp
2026-08-19 20:50:48 -07:00
.forgejo build-rpm workflow_dispatch: add explicit type: string to inputs 2026-08-12 18:25:57 -07:00
packages ldms: escape %% in %prep comment to stop stray macro expansion 2026-08-19 20:50:48 -07:00
.gitignore Gitignore .claude/ alongside CLAUDE.md 2026-07-18 02:05:37 -07:00