[packages/ka6-kcalc] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:20:50 CEST 2025


commit 4502b2833fe5281a2e029abb0d8f40948e6a0e73
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 15:44:57 2025 +0200

    - update_desktop_database

 ka6-kcalc.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ka6-kcalc.spec b/ka6-kcalc.spec
index 110cc68..e93df1d 100644
--- a/ka6-kcalc.spec
+++ b/ka6-kcalc.spec
@@ -38,6 +38,7 @@ BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	shared-mime-info
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Obsoletes:	ka5-%{kaname} < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -81,6 +82,12 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{lt,sr}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
 %files -f %{kaname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kcalc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kcalc.git/commitdiff/4502b2833fe5281a2e029abb0d8f40948e6a0e73



More information about the pld-cvs-commit mailing list