[packages/ka6-ktorrent] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:42:42 CEST 2025
commit f8649ad582bf8b9ddf012b4d4d6aa867cdf2c718
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 16:08:48 2025 +0200
- update_desktop_database
ka6-ktorrent.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ka6-ktorrent.spec b/ka6-ktorrent.spec
index e3a7399..54dd444 100644
--- a/ka6-ktorrent.spec
+++ b/ka6-ktorrent.spec
@@ -71,6 +71,7 @@ BuildRequires: pkgconfig
BuildRequires: taglib-devel
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
BuildRequires: zlib-devel
Obsoletes: ka5-%{kaname} < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -134,8 +135,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-ktorrent.git/commitdiff/f8649ad582bf8b9ddf012b4d4d6aa867cdf2c718
More information about the pld-cvs-commit
mailing list