From a78f04b6bd00cbd858cbbb66fbd61b72f5d01262 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 13 Jun 2023 20:39:49 +0200 Subject: [PATCH] update desktop database --- wireshark.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wireshark.spec b/wireshark.spec index 66b1552..efcb926 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -82,6 +82,7 @@ BuildRequires: libstdc++-devel >= 6:5 BuildRequires: qt5-build >= %{qt_ver} BuildRequires: qt5-linguist >= %{qt_ver} %endif +Requires(post,postun): desktop-file-utils Requires(post,postun): gtk-update-icon-cache Requires(post,postun): shared-mime-info Requires: Qt5Core >= %{qt_ver} @@ -308,10 +309,12 @@ rm -rf $RPM_BUILD_ROOT %pre %update_icon_cache hicolor +%update_desktop_database %update_mime_database %postun %update_icon_cache hicolor +%update_desktop_database %update_mime_database %pre common -- 2.44.0