If you mean the RPMs that are in the epel-release
repo, those are not done by us, but by the Fedora project, you can find their spec files over here: Tree - rpms/suricata - src.fedoraproject.org
The RPMs that we release on COPR, have their spec files over here: suricata-rpms/7.0/suricata.spec at main · jasonish/suricata-rpms · GitHub