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

Vít Ondruch notifications at github.com
Wed Aug 26 13:00:04 UTC 2020


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]] 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.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1870275

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200826/29825835/attachment.html>


More information about the Rpm-maint mailing list