[Rpm-maint] [rpm-software-management/rpm] Triple operator for conditional shortcut (#115)

pavlinamv notifications at github.com
Fri Apr 28 11:37:32 UTC 2017


The separator character should be chosen such that it will not cause problems with old macros:
%{?condition:true}
or
%{!?condition:false}

If we define, that:
     separator operator is the first '!' after ':', which is not nested in {} or in () 
it will change interpretation of macros like:
%{?write_errors: You did not respond! It is a mistake.}

-- 
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/issues/115#issuecomment-297976142
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170428/b0e07847/attachment-0001.html>


More information about the Rpm-maint mailing list