<blockquote>
<p>I tried to add it to the buildroot macro (re-)definition, but with buildroot it is pretty hopeless. rpm's rpmGenPath always expands all arguments, which leads to the buildroot getting expanded over and over again.</p>
</blockquote>
<p>Yup, it's %'s all the way down... <g-emoji class="g-emoji" alias="turtle" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f422.png">🐢</g-emoji><br>
Perhaps we'll get there yet.</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=ADLPZU3MLOD4ILEPZOVKQ2DRCFMAFA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELISS7Q#issuecomment-584132990">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU4SEOEGVCR7ZNGQMU3RCFMAFANCNFSM4KRMDJXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUYRNOCMDTSO2PHQZSTRCFMAFA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELISS7Q.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=ADLPZU3MLOD4ILEPZOVKQ2DRCFMAFA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELISS7Q#issuecomment-584132990",
"url": "https://github.com/rpm-software-management/rpm/pull/1060?email_source=notifications\u0026email_token=ADLPZU3MLOD4ILEPZOVKQ2DRCFMAFA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELISS7Q#issuecomment-584132990",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>