[packages/ka6-minuet] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:43:11 CEST 2025
commit 499157406b86717eaaed9dce805235badf168e5a
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 16:09:21 2025 +0200
- update_desktop_database
ka6-minuet.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/ka6-minuet.spec b/ka6-minuet.spec
index 434ff7c..d115003 100644
--- a/ka6-minuet.spec
+++ b/ka6-minuet.spec
@@ -55,6 +55,7 @@ harmonii i improwizacji.
Summary: Data files for %{kaname}
Summary(pl.UTF-8): Dane dla %{kaname}
Group: X11/Applications/Games
+Requires(post,postun): desktop-file-utils
Obsoletes: ka5-%{kaname}-data < %{version}
BuildArch: noarch
@@ -107,6 +108,12 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post data
+%update_desktop_database_post
+
+%postun data
+%update_desktop_database_postun
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/minuet
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-minuet.git/commitdiff/499157406b86717eaaed9dce805235badf168e5a
More information about the pld-cvs-commit
mailing list