[packages/kf6-kio] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 14:36:25 CEST 2025


commit 0fd6e2dac0e9cc8fbf153154354b56fa64342b0d
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 13:50:39 2025 +0200

    - update_desktop_database

 kf6-kio.spec | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/kf6-kio.spec b/kf6-kio.spec
index fbfbda7..5f9c676 100644
--- a/kf6-kio.spec
+++ b/kf6-kio.spec
@@ -64,6 +64,7 @@ BuildRequires:	tar >= 1:1.22
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xz
 BuildRequires:	zlib-devel
+Requires(post,postun):	desktop-file-utils
 Requires:	Qt6Core >= %{qtver}
 Requires:	Qt6DBus >= %{qtver}
 Requires:	Qt6Gui >= %{qtver}
@@ -176,8 +177,14 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr at latin
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%update_desktop_database_post
+
+%postun
+/sbin/ldconfig
+%update_desktop_database_postun
+
 
 %files -f %{kfname}6.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf6-kio.git/commitdiff/0fd6e2dac0e9cc8fbf153154354b56fa64342b0d



More information about the pld-cvs-commit mailing list