Apparantly, Mattermost relies on Electron and needs to bundle it. This basically prevents it from being packaged as an rpm in Fedora.
Technically, one can “put everything into an rpm”, of course, but besides being against the guidelines it also makes no sense. Flatpaks or AppImages serve that purpose in a much better way (because they isolate what they bundle).