[packages/ka6-kbounce] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:20:32 CEST 2025
commit 874d2860770a87ac9fdab0fb5d7a643db3fdd8cd
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 15:44:35 2025 +0200
- update_desktop_database
ka6-kbounce.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/ka6-kbounce.spec b/ka6-kbounce.spec
index 9c27c79..f88138d 100644
--- a/ka6-kbounce.spec
+++ b/ka6-kbounce.spec
@@ -41,6 +41,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)
@@ -82,6 +83,12 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
%files -f %{kaname}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/kbounce
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kbounce.git/commitdiff/874d2860770a87ac9fdab0fb5d7a643db3fdd8cd
More information about the pld-cvs-commit
mailing list