[packages/ka6-kasts] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:44:13 CEST 2025
commit a9305729cf8c39a2897513441f84ac874f833a2f
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 16:10:29 2025 +0200
- update_desktop_database
ka6-kasts.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/ka6-kasts.spec b/ka6-kasts.spec
index fd7185a..6c65558 100644
--- a/ka6-kasts.spec
+++ b/ka6-kasts.spec
@@ -47,6 +47,7 @@ BuildRequires: taglib-devel
BuildRequires: tar >= 1:1.22
BuildRequires: vlc-devel
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Obsoletes: ka5-kasts < 24
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -84,6 +85,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}/kasts
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kasts.git/commitdiff/a9305729cf8c39a2897513441f84ac874f833a2f
More information about the pld-cvs-commit
mailing list