class Rake::PackageTask

def package_name

def package_name
  @version ? "#{@name}-#{@version}" : @name
end