# File lib/specinfra/command/redhat/base/package.rb, line 14 def get_version(package, opts=nil) "rpm -q --qf '%{VERSION}-%{RELEASE}' #{package}" end