[packages/ka6-marble] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:43:05 CEST 2025


commit 393fbbdb81295602183f947a47375ffef9d22d0e
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 16:09:14 2025 +0200

    - update_desktop_database

 ka6-marble.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ka6-marble.spec b/ka6-marble.spec
index acb6ebf..7576bff 100644
--- a/ka6-marble.spec
+++ b/ka6-marble.spec
@@ -96,6 +96,7 @@ Cechy:
 Summary:	Data files for Marble
 Summary(pl.UTF-8):	Dane dla Marble
 Group:		X11/Applications
+Requires(post,postun):	desktop-file-utils
 Obsoletes:	ka5-%{kaname}-data < 24.12.0
 BuildArch:	noarch
 
@@ -151,6 +152,12 @@ rm -rf $RPM_BUILD_ROOT
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
+%post data
+%update_desktop_database_post
+
+%postun data
+%update_desktop_database_postun
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/marble
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-marble.git/commitdiff/393fbbdb81295602183f947a47375ffef9d22d0e



More information about the pld-cvs-commit mailing list