from typing import List


def get_package_nvrs(built_packages: List[dict]) -> List[str]:
    """
    Construct package NVRs for built packages except the SRPM.

    Returns:
        list of nvrs
    """
    packages = []
    for package in built_packages:
        if package["arch"] == "src":
            continue

        epoch = f"{package['epoch']}:" if package["epoch"] != 0 else ""
        packages.append(
            f"{package['name']}-{epoch}{package['version']}-{package['release']}.{package['arch']}"
        )
    return packages