[packages/ka6-okular] - update_desktop_database

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


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

    - update_desktop_database

 ka6-okular.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ka6-okular.spec b/ka6-okular.spec
index 804d4aa..1d8fc72 100644
--- a/ka6-okular.spec
+++ b/ka6-okular.spec
@@ -69,6 +69,7 @@ z miniaturkami • Wsparcie dla adnotacji
 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
 
@@ -124,6 +125,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}/okular
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-okular.git/commitdiff/2d42aa70911dc0366ba3e4fc8c5f484d894e02cc



More information about the pld-cvs-commit mailing list