https://bugzilla.redhat.com/show_bug.cgi?id=1539116
--- Comment #8 from markusN neteler@gmail.com --- (In reply to Iwicki Artur from comment #7)
I compared this with a couple of appdata files I have installed on my system and yes, it seems that the value of the "<id>" tag should end with ".desktop".
OK, fixed upstream (will then ship with the future GRASS GIS 7.4.1).
The two $RPM_BUILD_ROOT entries needed and not the same as %buildroot (compilation fails when changing them to %buildroot), so I left them as-is.
All other suggestions are included (new SPEC attached) and compile successfully on EPEL7 and Fedora: https://copr.fedorainfracloud.org/coprs/neteler/grass74/build/706613/
Thanks again for the review!