lib/pkg-wizard/rpm.rb in pkg-wizard-0.1.28 vs lib/pkg-wizard/rpm.rb in pkg-wizard-0.1.29

- old
+ new

@@ -14,11 +14,11 @@ raise ArgumentError.new("Invalid package.") if not File.exist?(pkg) end def source_package_name info = `rpm -qi -qp #{@pkg} 2>/dev/null`.lines - info.find do |s| - s =~ /^Source RPM\s*:(.*)$/ + info.find do |s| + s =~ /Source RPM\s*:(.*)$/ end $1.strip.chomp end end