--- rpm-0.0.5//lib/rpm/c.rb 2018-08-25 11:50:27.200000000 +0000 +++ c.rb 2018-08-25 11:51:50.210000000 +0000 @@ -1,13 +1,11 @@ -require 'rubygems' require 'ffi' module RPM module C - extend ::FFI::Library begin ffi_lib ['rpm', + 'librpm.so.9', 'librpm.so.10', 'librpm.so.11', - 'librpm.so.7', # fedora 23 - 'librpm.so.3', 'librpm.so.2', 'librpm.so.1'] + ] rescue LoadError => e