diff --git a/wireshark.spec b/wireshark.spec index aabfd94..de0058a 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -233,6 +233,14 @@ getent group wireshark >/dev/null || groupadd -r wireshark %set_permissions %{_bindir}/dumpcap exit 0 +%post ui-qt +%desktop_database_post +%icon_theme_cache_post + +%postun ui-qt +%desktop_database_postun +%icon_theme_cache_postun + %ldconfig_scriptlets -n %{libutil} %ldconfig_scriptlets -n %{libwire} %ldconfig_scriptlets -n %{libtap} @@ -287,14 +295,4 @@ exit 0 %{_datadir}/mime/packages/%{org_name}.xml %{_datadir}/metainfo/%{org_name}.metainfo.xml -%post ui-qt -%license COPYING -%desktop_database_post -%icon_theme_cache_post - -%postun ui-qt -%license COPYING -%desktop_database_postun -%icon_theme_cache_postun - %changelog