def list_rpm(archive, compression, cmd, verbosity, interactive):
    """List a RPM archive."""
    cmdlist = [cmd, '-q', '-l']
    if verbosity > 1:
        cmdlist.append('-v')
    cmdlist.extend(['-p', '--', archive])
    return cmdlist
