close the transaction afte the block to avoid a "too many open files" produced by rpm opening the db on every transaction.
close the transaction afte the block to avoid a "too many open files" produced
by rpm opening the db on every transaction.

dmacvicar/ruby-rpm-ffi