[packages/ka6-klettres] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:22:41 CEST 2025


commit 9c43edfb7a9c2895e30909e2f337983e89f85310
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 15:46:57 2025 +0200

    - update_desktop_database

 ka6-klettres.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ka6-klettres.spec b/ka6-klettres.spec
index 669c589..b7351d9 100644
--- a/ka6-klettres.spec
+++ b/ka6-klettres.spec
@@ -57,6 +57,7 @@ jak i dorosłych.
 Summary:	Data files for %{kaname}
 Summary(pl.UTF-8):	Dane dla %{kaname}
 Group:		X11/Applications
+Requires(post,postun):	desktop-file-utils
 Obsoletes:	ka5-%{kaname}-data < %{version}
 BuildArch:	noarch
 
@@ -93,6 +94,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post data
+%update_desktop_database_post
+
+%postun data
+%update_desktop_database_postun
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/klettres
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-klettres.git/commitdiff/9c43edfb7a9c2895e30909e2f337983e89f85310



More information about the pld-cvs-commit mailing list