[packages/ka6-kdf] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:21:43 CEST 2025


commit e8af12fa35507c12912d75852a3b8b6b104b7a10
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 15:45:54 2025 +0200

    - update_desktop_database

 ka6-kdf.spec | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ka6-kdf.spec b/ka6-kdf.spec
index a32bcb9..10f0af8 100644
--- a/ka6-kdf.spec
+++ b/ka6-kdf.spec
@@ -34,6 +34,7 @@ BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Obsoletes:	ka5-%{kaname} < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -71,8 +72,14 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{ko,sr}
 %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 %{kaname}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kdf.git/commitdiff/e8af12fa35507c12912d75852a3b8b6b104b7a10



More information about the pld-cvs-commit mailing list