https://bugzilla.redhat.com/show_bug.cgi?id=1552767
--- Comment #7 from Neal Gompa ngompa13@gmail.com ---
%if 0%{?fedora} || 0%{?rhel} %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi
%posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons &>/dev/null || : %endif
This would be RHEL-only. All currently supported Fedora releases use file triggers for this, provided hicolor-icon-theme is a requirement of the package (which it is, in this case).
Also, can you move this section up to be along with the rest of the main package sections (like the file list and whatnot).