[packages/luakit] update desktop database
atler
atler at pld-linux.org
Sat Aug 19 22:05:32 CEST 2023
commit 307b5d35c6e6bff985e50a369a764be71213e8fa
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Aug 19 21:55:03 2023 +0200
update desktop database
luakit.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/luakit.spec b/luakit.spec
index 01c45c2..f5157b6 100644
--- a/luakit.spec
+++ b/luakit.spec
@@ -30,6 +30,7 @@ BuildRequires: lua51-devel
BuildRequires: lua51-filesystem
BuildRequires: pkgconfig
BuildRequires: sqlite3-devel
+Requires(post,postun): desktop-file-utils
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -85,6 +86,12 @@ fi
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
%files
%defattr(644,root,root,755)
%doc AUTHORS README.md
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/luakit.git/commitdiff/dc2481eac33ce9968986d5bfffc88ba596a402ce
More information about the pld-cvs-commit
mailing list