The default package for fedora is pgtk which works well in desktop mode. The compile flags are pretty sane.
I would recommend against the flatpak due to it not being pgtk and not having native comp by default. Additionally, emacs likes having access to outside tools so it’s incredibly awkward to use.