The sole purpose of the block macro is to make defining multiline macros nicer with the function-line %{} block syntax. A multiline %{expand:...} is commonly abused for this purpose but it has side-effects.
Lets add one that doesn't: %{block:...} does exactly nothing but insert the macro body as-is, without having to resort to ugly \-line continuations. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/3677 -- Commit Summary -- * Introduce %{block:...} macro for multiline macro sanity -- File Changes -- M docs/manual/macros.md (1) M rpmio/macro.cc (6) M tests/data/macros.testfile (10) M tests/rpmmacro.at (21) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/3677.patch https://github.com/rpm-software-management/rpm/pull/3677.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3677 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org https://lists.rpm.org/mailman/listinfo/rpm-maint