In addition to that this is a copypaste from upstream so it *should* work on rhel/fedora also as it only manages package repository.