[packages/wireshark] update desktop database

atler atler at pld-linux.org
Tue Jun 13 20:46:13 CEST 2023


commit a78f04b6bd00cbd858cbbb66fbd61b72f5d01262
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jun 13 20:39:49 2023 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wireshark.git/commitdiff/387b15174ef08c85b8faf36d84082f37be3acb1e



More information about the pld-cvs-commit mailing list