"Don't use file dependencies outside of /usr/bin or /usr/sbin."
File deps are a nice feature, but they are very costly in terms of metadata. It'd be nice to go back to the Yum way of doing things: only pull down the list when needed. But, with the sat solver approach used by DNF (rather than yum's incremental approach), this really can only be done by moving away from these requirements in general. I don't think we're ready for this as a packaging guideline rule yet, but we can help make things prettier at first.
/usr/bin
/usr/sbin
/bin
/sbin
/usr
SUSE is doing this for long time as well. AFAIK createrepo_c adds files in primary.xml which are executable automagically.
But in any case I think this should be brought to FPC rather than to cleanup service ;)
I can do that too. Some of this is just style, though. :)
https://pagure.io/packaging-committee/issue/714