[Rpm-maint] [rpm-software-management/rpm] [RFE] Provide install time alternative to `%{?_isa}` (#1344)

soig notifications at github.com
Wed Sep 16 13:00:56 UTC 2020


Le mer. 26 août 2020 à 15:00, Vít Ondruch <notifications at github.com> a
écrit :

> It would be nice if we had install time alternative to %{?_isa}. That
> would help to pull in the right arch package from noarch package.
>
> My use case is to have rubygem-ruby-vips, where this is noarch package is
> using libffi to load libraries, to `Requires: "libvips.so.42%{?_isa}",
> where this would pull in the right library according to target installation
> platform.
>
> This [1 <https://bugzilla.redhat.com/show_bug.cgi?id=1870275>] is the
> original ticket I have reported against DNF just to just discover that DNF
> is doing the right thing when rubygem-ruby-vips specifies only Requires:
> "libvips.so.42. Obviously, specifying Requires: "libvips.so.42%{?_isa}
> would not improve the situation, because the randomly used builder arch
> would make the issue even worse.
>
>> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/rpm-software-management/rpm/issues/1344>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAXGVEISOJBQOUTDZOCBOULSCUBNHANCNFSM4QLZQR7Q>
> .
>

One could argue that such a noarch package isn't really noarch anymore…
Maybe it's better to make it arched in such a case…


-- 
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/1344#issuecomment-693388620
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200916/7a28d7ca/attachment.html>


More information about the Rpm-maint mailing list