refactor fedora build