<p></p>
Le mer. 26 août 2020 à 15:00, Vít Ondruch <notifications@github.com> a<br>
écrit :<br>
<br>
> It would be nice if we had install time alternative to %{?_isa}. That<br>
> would help to pull in the right arch package from noarch package.<br>
><br>
> My use case is to have rubygem-ruby-vips, where this is noarch package is<br>
> using libffi to load libraries, to `Requires: "libvips.so.42%{?_isa}",<br>
> where this would pull in the right library according to target installation<br>
> platform.<br>
><br>
> This [1 <https://bugzilla.redhat.com/show_bug.cgi?id=1870275>] is the<br>
> original ticket I have reported against DNF just to just discover that DNF<br>
> is doing the right thing when rubygem-ruby-vips specifies only Requires:<br>
> "libvips.so.42. Obviously, specifying Requires: "libvips.so.42%{?_isa}<br>
> would not improve the situation, because the randomly used builder arch<br>
> would make the issue even worse.<br>
><br>
> —<br>
> You are receiving this because you are subscribed to this thread.<br>
> Reply to this email directly, view it on GitHub<br>
> <https://github.com/rpm-software-management/rpm/issues/1344>, or<br>
> unsubscribe<br>
> <https://github.com/notifications/unsubscribe-auth/AAXGVEISOJBQOUTDZOCBOULSCUBNHANCNFSM4QLZQR7Q><br>
> .<br>
><br>
<br>
One could argue that such a noarch package isn't really noarch anymore…<br>
Maybe it's better to make it arched in such a case…<br>


<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/1344#issuecomment-693388620">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU3NSDD2OGA4CG3WOSTSGCZIRANCNFSM4QLZQR7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUZKF7RZUFSN3POUHI3SGCZIRA5CNFSM4QLZQR72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFKEKTA.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/1344#issuecomment-693388620",
"url": "https://github.com/rpm-software-management/rpm/issues/1344#issuecomment-693388620",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>