<p>I do not see any problem in the syntax that <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=3882389" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pmatilai">@pmatilai</a> proposed in his previous comment:<br>
<code>%{(<expr>)?<true>:<false>}</code><br>
There are two similar options that are closer to the currently proposed triple condition operator syntax (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="455123297" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/746" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/746/hovercard" href="https://github.com/rpm-software-management/rpm/pull/746">#746</a>):<br>
<code>%{{<expr>}?<true>:<false>}</code><br>
<code>%{{<expr>}:<true>:<false>}</code></p>
<p>Using these syntax the example from the previous <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=946612" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mlschroe">@mlschroe</a> comment looks:<br>
<code>%{(0%?_include_minidebuginfo)?"mini:true":"mini:false"}</code><br>
<code>%{{0%?_include_minidebuginfo}?"mini:true":"mini:false"}</code><br>
<code>%{{0%?_include_minidebuginfo}:"mini:true":"mini:false"}</code></p>
<p>Syntax:<br>
<code>%{expr: 0%?_include_minidebuginfo ? "mini:true" : "mini:false" }</code><br>
can cause a small problem in deciding which ? divides the parts of the macro. But it can be solved - the first ? can  be in {}:<br>
<code>%{expr:0%{?_include_minidebuginfo}? "mini:true" : "mini:false"}</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/115?email_source=notifications&email_token=ADLPZU76XBWUFPQVMFCAHDTQH5ZA3A5CNFSM4C3MFNBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD523B2Y#issuecomment-527806699">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU2MF5I52EMLAW37NSDQH5ZA3ANCNFSM4C3MFNBA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZUYXNCBYUYHUF2N6PG3QH5ZA3A5CNFSM4C3MFNBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD523B2Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/115?email_source=notifications\u0026email_token=ADLPZU76XBWUFPQVMFCAHDTQH5ZA3A5CNFSM4C3MFNBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD523B2Y#issuecomment-527806699",
"url": "https://github.com/rpm-software-management/rpm/issues/115?email_source=notifications\u0026email_token=ADLPZU76XBWUFPQVMFCAHDTQH5ZA3A5CNFSM4C3MFNBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD523B2Y#issuecomment-527806699",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>