[packages/ka6-kalarm] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:19:23 CEST 2025


commit 5ec784af4a207863a99129054264a70fa01114e3
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 15:43:18 2025 +0200

    - update_desktop_database

 ka6-kalarm.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ka6-kalarm.spec b/ka6-kalarm.spec
index 2053638..78fa18e 100644
--- a/ka6-kalarm.spec
+++ b/ka6-kalarm.spec
@@ -38,6 +38,7 @@ BuildRequires:	shared-mime-info
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	vlc-devel
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Obsoletes:	ka5-%{kaname} < %{version}
 ExcludeArch:	x32 i686
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -94,8 +95,13 @@ rm -rf $RPM_BUILD_ROOT
 %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/ka6-kalarm.git/commitdiff/5ec784af4a207863a99129054264a70fa01114e3



More information about the pld-cvs-commit mailing list