[packages/ka5-konsole] update desktop database

atler atler at pld-linux.org
Sun Jan 19 17:31:22 CET 2025


commit 187278613648ce9b2906dc35e4d5c6462aeb3eca
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jan 19 16:59:16 2025 +0100

    update desktop database

 ka5-konsole.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ka5-konsole.spec b/ka5-konsole.spec
index 62c1fcc..ef9dcd8 100644
--- a/ka5-konsole.spec
+++ b/ka5-konsole.spec
@@ -52,6 +52,7 @@ BuildRequires:	tar >= 1:1.22
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xz
 BuildRequires:	zlib-devel
+Requires(post,postun):	desktop-file-utils
 Requires:	Qt5Core >= %{qtver}
 Requires:	Qt5DBus >= %{qtver}
 Requires:	Qt5PrintSupport >= %{qtver}
@@ -126,8 +127,13 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
 %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/ka5-konsole.git/commitdiff/187278613648ce9b2906dc35e4d5c6462aeb3eca



More information about the pld-cvs-commit mailing list