In the sub-section "desktop-file-install usage" of the section "Desktop files" of the page https://fedoraproject.org/w/index.php?title=Packaging:Guidelines the command
{{{ desktop-file-install \ --add-category="AudioVideo" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/foo.desktop }}}
should be corrected to
{{{ desktop-file-install \ --add-category="AudioVideo" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/foo.desktop }}}
there is a missing "applications/" path.
Regards.
Fixed.
Thanks for reporting this issue.
Login to comment on this ticket.