[packages/kf6-knewstuff] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 14:38:47 CEST 2025
commit 9e2e4bf9f73cf5c2a05d282f9d8f315b6a28c4ba
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 13:53:12 2025 +0200
- update_desktop_database
kf6-knewstuff.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/kf6-knewstuff.spec b/kf6-knewstuff.spec
index eae505d..42b197b 100644
--- a/kf6-knewstuff.spec
+++ b/kf6-knewstuff.spec
@@ -43,6 +43,7 @@ BuildRequires: ninja
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Requires: Qt6Core >= %{qtver}
Requires: Qt6Gui >= %{qtver}
Requires: Qt6Qml >= %{qtver}
@@ -117,8 +118,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}6.lang
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf6-knewstuff.git/commitdiff/9e2e4bf9f73cf5c2a05d282f9d8f315b6a28c4ba
More information about the pld-cvs-commit
mailing list