def METHOD_NAME():
    assert parse_rpm_version([], '1.2.3', '0.alpha20210101') == ('1.2.3-alpha20210101', Pf.DEVEL)
    assert parse_rpm_version([], '1.2.3', '0.alpha.20210101') == ('1.2.3-alpha', Pf.DEVEL | Pf.IGNORE)
    assert parse_rpm_version([], '1.2.3', '1.alpha20210101') == ('1.2.3-alpha20210101', Pf.DEVEL)
    assert parse_rpm_version([], '1.2.3', '1.alpha.20210101') == ('1.2.3-alpha', Pf.DEVEL | Pf.IGNORE)