    # File lib/chef/provider/package/yum.rb, line 442
              def self.parse(string)
                if string =~ %r{^(\S+)\s+(>|>=|=|==|<=|<)\s+(\S+)$}
                  name = $1
                  if $2 == "="
                    flag = :==
                  else
                    flag = "#{$2}""#{$2}"
                  end
                  version = $3

                  return self.new(name, version, flag)
                else
                  name = string
                  return self.new(name, nil, nil)
                end
              end