[packages/ka6-krfb] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:42:08 CEST 2025
commit 9c0fe75e32a3cca078291d04f0b5d975ee73fcec
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 16:08:11 2025 +0200
- update_desktop_database
ka6-krfb.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ka6-krfb.spec b/ka6-krfb.spec
index b939154..c3b651f 100644
--- a/ka6-krfb.spec
+++ b/ka6-krfb.spec
@@ -50,6 +50,7 @@ BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXdamage-devel
BuildRequires: xorg-lib-libXtst-devel
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Obsoletes: ka5-%{kaname} < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -91,8 +92,13 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/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-krfb.git/commitdiff/9c0fe75e32a3cca078291d04f0b5d975ee73fcec
More information about the pld-cvs-commit
mailing list