[packages/ka6-bovo] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:18:07 CEST 2025


commit 04b6be8551db70749fbbcc699cf9870a5c4032bc
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 15:41:57 2025 +0200

    - update_desktop_database

 ka6-bovo.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ka6-bovo.spec b/ka6-bovo.spec
index 7441061..d399f56 100644
--- a/ka6-bovo.spec
+++ b/ka6-bovo.spec
@@ -36,6 +36,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)
 
@@ -74,8 +75,11 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
 
 %files -f %{kaname}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-bovo.git/commitdiff/04b6be8551db70749fbbcc699cf9870a5c4032bc



More information about the pld-cvs-commit mailing list