There is no restriction now. 1) Simple unique constraint - it will not catch "tar tar.xz" vs "tar.xz tar" 2) convert to some other type and force uniquenes upon whole set
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3976
Please continue any further discussion there.