https://bugzilla.redhat.com/show_bug.cgi?id=1450633
--- Comment #27 from Michael Schwendt bugs.michael@gmx.net ---
%posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : desktop-file-validate %{_datadir}/applications/keepassxc.desktop &> /dev/null || :
That desktop-file-validate call isn't acceptable like that. You are supposed to validate .desktop files once when building the binary package. Not in %posttrans and then ignoring output and any errors.