Macros might want to pass along options meant for others while perhaps modifying some of them, without exposing it all to users. Have "-" as the parametric macro opts string disable all options processing in rpm, allowing the macro to handle the raw argument list as they place. Fixes: #547
The first two commits are infrastructure pre-requisites. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/1392 -- Commit Summary -- * Wrap getopt() usage into internal helper * Don't muck with parametric macro arguments of cli defines * Allow parametric macros to opt out of option processing (#547) -- File Changes -- M doc/manual/macros.md (3) M lib/poptALL.c (2) M rpmio/Makefile.am (2) M rpmio/macro.c (84) A rpmio/rgetopt.c (44) M rpmio/rpmlua.c (41) M rpmio/rpmmacro_internal.h (4) M tests/rpmmacro.at (12) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/1392.patch https://github.com/rpm-software-management/rpm/pull/1392.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1392
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint