<p>FWIW, tested a bit with the macro generator thing - even after all this noexpand stuff, the %{basename:%{1}} testcase still ends up eating %'s in due to the re-expansion in doFoo().</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/pull/1060?email_source=notifications&email_token=ADLPZU6TYCAGN6RBGT3RI2DRBVNKNA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELC34LA#issuecomment-583384620">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU5KNHEUIZUKGGVRE3TRBVNKNANCNFSM4KRMDJXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUYAGRRNNJSZDD4WOJ3RBVNKNA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELC34LA.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/pull/1060?email_source=notifications\u0026email_token=ADLPZU6TYCAGN6RBGT3RI2DRBVNKNA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELC34LA#issuecomment-583384620",
"url": "https://github.com/rpm-software-management/rpm/pull/1060?email_source=notifications\u0026email_token=ADLPZU6TYCAGN6RBGT3RI2DRBVNKNA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELC34LA#issuecomment-583384620",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>