[Rpm-maint] [rpm-software-management/rpm] Revere Change %undefine macro to "func" style now that we can (PR #2203)
xujing
notifications at github.com
Sat Sep 24 07:17:01 UTC 2022
https://github.com/rpm-software-management/rpm/commit/aec8bdb53a3013eabf16368e17a65ab69c2136ee introduced function changes, which cause the output
of the following command is changed.
rpm -D '%foo() %{expand:%define xxx 1} %{echo:%xxx}' -E +'%undefine xxx'-
The result of the command is "+-" before https://github.com/rpm-software-management/rpm/commit/aec8bdb53a3013eabf16368e17a65ab69c2136ee, now is "+".
And according to https://github.com/rpm-software-management/rpm/commit/1d1f461f80138c44556a8d87433dd39884a7d44c, the return value is saved in "parsed".
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2203
-- Commit Summary --
* Revere Change %undefine macro to "func" style now that we can
* %define in a nested level and %undefine in --eval
-- File Changes --
M rpmio/macro.c (28)
M tests/rpmmacro.at (13)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2203.patch
https://github.com/rpm-software-management/rpm/pull/2203.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2203
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2203 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220924/2e84bc43/attachment.html>
More information about the Rpm-maint
mailing list