def METHOD_NAME(self, package, ver_rel, repo):
    """
    Given the fields of a ``yum list`` row, return a dictionary
    of name, version, release, epoch, arch, and repo.
    """
    name, _, arch = package.rpartition(".")
    repo = repo.lstrip("@")
    # Kept as string in InstalledRpm. Duplicating here for consistency.
    epoch = "0"
    if ":" in ver_rel:
        epoch, ver_rel = ver_rel.split(":", 1)
    version, release = ver_rel.split("-")
    # This is special cased for InstalledRpm. Duplicating here for
    # consistency.
    if name.startswith('oracleasm') and name.endswith('.el5'):
        name, version2 = name.split('-', 1)
        version = version2 + '-' + version
    return {"name": name, "version": version, "release": release, "epoch":
            epoch, "arch": arch, "repo": repo}