On Mon, Mar 06, 2023 at 02:27:46PM +0100, Vít Ondruch wrote:
Dne 06. 03. 23 v 12:49 Ewoud Kohl van Wijngaarden napsal(a):
While rubygem-openscap is retired in Fedora, the Foreman project
still packages it.
For context: rubygem-openscap can load libopenscap.so.8 and
libopenscap.so.25 through FFI. Today we depend on a specific
version, but every time it's bumped we go through a verification to
see if the SO version hasn't been bumped.
At first I started with a trivial Requires: libopenscap.so.25 but
that pulls in both openscap for i686 and x86_64. Directly depending
on
libopenscap.so.25()(64bit) feels wrong, so what is the correct
approach here? Is there some helper macro here?
https://src.fedoraproject.org/rpms/rubygem-ruby-vips/blob/rawhide/f/rubygem-ruby-vips.spec#_29-30
This is the solution that I was looking for. It only installs
openscap.x86_64 and not openscap.i686.
The ISA based approach doesn't work since it's a noarch package, meaning
the __isa* macros are unavailable.
Thanks everyone for your help.
_______________________________________________
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