From b8841e78c77f5f39ac4bace70ee892a15c2e62e3 Mon Sep 17 00:00:00 2001 From: Alexander Khryukin Date: Tue, 15 Mar 2016 19:10:13 +0300 Subject: [PATCH] add librpm-5.4.so to rpm.rb --- lib/plugins/rpm.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/rpm.rb b/lib/plugins/rpm.rb index 488ee23b3..a55fc34f8 100644 --- a/lib/plugins/rpm.rb +++ b/lib/plugins/rpm.rb @@ -6,7 +6,7 @@ module RPM extend ::FFI::Library begin - ffi_lib ['librpm.so.3', 'librpm.so.2', 'librpm.so.1', 'rpm'] + ffi_lib ['librpm.so.3', 'librpm.so.2', 'librpm.so.1', 'librpm-5.4.so', 'rpm'] rescue LoadError => e raise( "Can't find rpm libs on your system: #{e.message}" @@ -16,4 +16,4 @@ module RPM attach_function 'rpmvercmp', [:string, :string], :int end -end \ No newline at end of file +end