[packages/ka6-kdeconnect-kde] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:44:33 CEST 2025
commit bbbf49a7c72727cea28169a34ec736928db7ca95
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 16:10:50 2025 +0200
- update_desktop_database
ka6-kdeconnect-kde.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ka6-kdeconnect-kde.spec b/ka6-kdeconnect-kde.spec
index 04dce08..98e185e 100644
--- a/ka6-kdeconnect-kde.spec
+++ b/ka6-kdeconnect-kde.spec
@@ -61,6 +61,7 @@ BuildRequires: shared-mime-info
BuildRequires: tar >= 1:1.22
BuildRequires: wayland-protocols >= 1.9
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Requires: %{name}-data = %{version}-%{release}
Obsoletes: ka5-%{kaname} < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -132,8 +133,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
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kdeconnect-kde.git/commitdiff/bbbf49a7c72727cea28169a34ec736928db7ca95
More information about the pld-cvs-commit
mailing list