Do you know the site https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file

Maybe the parameter -i or another one helps?

Regards
Eric


Am 20. August 2023 01:08:17 MESZ schrieb Jason Craig <os-dev@jacraig.com>:
On 8/18/2023 2:16, Axel Braun wrote:
# menu-entry
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
%suse_update_desktop_file %{name}

%{name} does not match the desire name in that case....

I can't get this to work...I'm trying
desktop-file-install --dir %{buildroot}%{_datadir}/applications pipewire-xrdp.desktop

since that is the name of the desktop file (not the same as %{name} like you say) but build says
"pipewire-xrdp.desktop": No such file or directory

Maybe you check with the version in our spec file - autosetup with the full hash behind will probably required adjustment of this line each time the version changes

I'm not sure I understand what you are saying here. If you're saying the git commit hash will have to change when new source comes out I understand that (there are no tagged version releases for the project yet).

thanks
/Jason Craig