commit 187278613648ce9b2906dc35e4d5c6462aeb3eca
Author: Jan Palus <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit