[packages/blueman] update desktop database

atler atler at pld-linux.org
Sat Mar 30 15:59:17 CET 2024


commit 54cbe5365bfac1e8047ea539d114884c26b342b5
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Mar 30 15:47:42 2024 +0100

    update desktop database

 blueman.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/blueman.spec b/blueman.spec
index ff5ed93..ae8b370 100644
--- a/blueman.spec
+++ b/blueman.spec
@@ -34,6 +34,7 @@ BuildRequires:	rpmbuild(macros) >= 2.011
 BuildRequires:	systemd-units
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk-update-icon-cache
 Requires(post,postun):	hicolor-icon-theme
 Requires(post,preun,postun):	systemd-units >= 1:250.1
@@ -184,6 +185,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_icon_cache hicolor
+%update_desktop_database_post
 glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %service %{name}-mechanism restart
 %systemd_post %{name}-mechanism.service
@@ -198,6 +200,7 @@ fi
 
 %postun
 %update_icon_cache hicolor
+%update_desktop_database_postun
 glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %systemd_reload
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/blueman.git/commitdiff/186a24366aa6eb33ad1b2de70e8578978c08b44c



More information about the pld-cvs-commit mailing list