[packages/ka6-audex] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:44:36 CEST 2025
commit 83ed304b5d26616c63c0df93f7d3fb3be5012ccd
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 16:10:53 2025 +0200
- update_desktop_database
ka6-audex.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/ka6-audex.spec b/ka6-audex.spec
index f4cca46..6463a05 100644
--- a/ka6-audex.spec
+++ b/ka6-audex.spec
@@ -37,6 +37,7 @@ BuildRequires: qt6-build >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.164
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)
@@ -72,6 +73,12 @@ rm -rf $RPM_BUILD_ROOT%{_localedir}/ie
%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}/audex
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-audex.git/commitdiff/83ed304b5d26616c63c0df93f7d3fb3be5012ccd
More information about the pld-cvs-commit
mailing list