summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2024-01-20 10:35:40 (GMT)
committerJan Palus2024-01-20 10:35:40 (GMT)
commitadb42d8886a3241ae87ea7483588387fa7b0519a (patch)
tree29b1b363a0e65dd845d95d8cfe23697c53ac84fa
parent4ad3ab249ac2f6b391c3640ef1b674e462549bb6 (diff)
downloadNetworkManager-applet-adb42d8886a3241ae87ea7483588387fa7b0519a.zip
NetworkManager-applet-adb42d8886a3241ae87ea7483588387fa7b0519a.tar.gz
-rw-r--r--NetworkManager-applet.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/NetworkManager-applet.spec b/NetworkManager-applet.spec
index 827457f..36f8c53 100644
--- a/NetworkManager-applet.spec
+++ b/NetworkManager-applet.spec
@@ -34,6 +34,7 @@ BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Requires(post,postun): glib2 >= 1:2.40
Requires(post,postun): gtk-update-icon-cache
Requires: NetworkManager >= %{nm_ver}
@@ -81,12 +82,14 @@ rm -rf $RPM_BUILD_ROOT
%post
%update_icon_cache hicolor
%glib_compile_schemas
+%update_desktop_database_post
%postun
%update_icon_cache hicolor
if [ "$1" = "0" ]; then
%glib_compile_schemas
fi
+%update_desktop_database_postun
%files -f %{name}.lang
%defattr(644,root,root,755)