From df8cb5068b4e3d36a608b64c982ee48c83e45786 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 22 Jan 2025 13:28:00 -0500 Subject: [PATCH] Detect librpm.so.9 Add support for librpm.so.9 which is used by the EL9 distributions, e.g.: CentOS Stream 9, Rocky 9, RHEL9, etc... --- lib/rpm/c.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rpm/c.rb b/lib/rpm/c.rb index 0415d13..9cef46e 100644 --- a/lib/rpm/c.rb +++ b/lib/rpm/c.rb @@ -6,6 +6,7 @@ module C begin ffi_lib ['rpm', + 'librpm.so.9', 'librpm.so.8', # Tumbleweed 'librpm.so.7', # fedora 23 'librpm.so.3', 'librpm.so.2', 'librpm.so.1']