Interesting situation. On 3/6/23 12:49, Ewoud Kohl van
Wijngaarden wrote:
While rubygem-openscap is retired in Fedora, the Foreman project still packages it.
A bit of a tangent first. ~~~ require 'ffi' This will throw an exception if the .so is not available.
There are *some*, but nothing universal it seems. JFTR other packages that require libs like this are (and make use of some _isa macros): cross-gcc.spec You can grep through all specfiles using this tar: https://pkgs.fedoraproject.org/repo/rpm-specs-latest.tar.xz I'd recommend reading the systemd and Julia files as inspiration, those 2 seem to be doing what you are speaking of. tl;dr those spec files indicate you need to conditionally depend
on both, depending on whether it is 32 or 64bit build.
This could, in theory, be checked in the %check section of the package as I indicated above, if you add the same to BuildRequires, even if it won't help if openscap changes the .so version. Regards,
|
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue