The wildfly RPM Requires the wildfly-modules RPM and not the other way around.
An unowned/orphan directory, /usr/share/wildfly, is created when a user installs the wildfly-modules RPM without installing the wildfly RPM.
The proposed fix is to move the ownership of the /usr/share/wildfly from the wildfly RPM to the wildfly-modules RPM.