RPM: Try to fix openSUSE packaging.

Try to fix

    + /usr/lib/rpm/suse_update_desktop_file.sh wireshark
    ERROR: suse_update_desktop_file: unable to find wireshark
This commit is contained in:
Gerald Combs 2020-12-11 17:17:40 -08:00 committed by Guy Harris
parent b687813f58
commit 53775325df
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ cd -
# (https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file)
# require this:
install -Dm 0644 %{buildroot}/usr/local/share/applications/org.wireshark.Wireshark.desktop %{buildroot}/usr/share/applications/org.wireshark.Wireshark.desktop
%suse_update_desktop_file %{name}
%suse_update_desktop_file org.wireshark.Wireshark
%else
# Fedora's packaging guidelines (https://fedoraproject.org/wiki/Packaging:Guidelines)
# require this (at least if desktop-file-install was not used to install it).