Remove references to absolute paths from spec file: 1. /sbin/mount.glusterfs 2. /usr/lib/firewalld/services/glusterfs.xml
I believe the best we can do is change /usr/lib/firewalld/... to %{_prefix}/lib/firewalld/... E.g. the nfs-utils.rpm .spec file has hard-coded (absolute) paths for /sbin/mount.nfs* And the firewalld.rpm .spec file has %{_prefix}/lib/firewalld/... Between autoconf and rpm there are no other config options or macros to use.
I guess this is already resolved as CURRENT-RELEASE, as 3.12 upstream itself had all the required fixes IMO.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0263