[packages/kf6-kwallet] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 14:40:54 CEST 2025


commit 51ef467e2dd0da3ec288f6569034f6885611ba8b
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 13:55:26 2025 +0200

    - update_desktop_database

 kf6-kwallet.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/kf6-kwallet.spec b/kf6-kwallet.spec
index 588bbb2..268ae04 100644
--- a/kf6-kwallet.spec
+++ b/kf6-kwallet.spec
@@ -43,6 +43,7 @@ BuildRequires:	qca-qt6-devel
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Requires:	Qt6DBus >= %{qt_ver}
 Requires:	Qt6Gui >= %{qt_ver}
 Requires:	Qt6Widgets >= %{qt_ver}
@@ -114,8 +115,13 @@ rm -rf $RPM_BUILD_ROOT
 %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}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf6-kwallet.git/commitdiff/51ef467e2dd0da3ec288f6569034f6885611ba8b



More information about the pld-cvs-commit mailing list