[Rpm-maint] [rpm-software-management/rpm] Don't expand %{verbose:...} argument on false condition (0032ee8)

pavlinamv notifications at github.com
Sun Oct 22 19:25:44 UTC 2017


The patch does not extend the syntax, it corrects the existing implementation of {verbose:...} and {!verbose:...}.
The example in commit message shows that prior to this patch the syntax already included {!verbose:...}.

An example of the corrected error in case of {verbose:...}:

    $ rpm  --eval '%{!verbose:%{echo:is not verbose}}' \
           --eval '%{verbose:%{echo:is verbose}}'

Before this patch, it returned:

    is not verbose
    is verbose

-- 
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/commit/0032ee8c23bd93a24388b07aafd2dbd32772b328#commitcomment-25121796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171022/b392b6fc/attachment.html>


More information about the Rpm-maint mailing list