[packages/zathura] update desktop database

atler atler at pld-linux.org
Mon Nov 6 20:52:27 CET 2023


commit d351d053dfdfb3264c78c6e6809f5682d3f242b5
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Nov 6 20:36:39 2023 +0100

    update desktop database

 zathura.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/zathura.spec b/zathura.spec
index c3132a8..4623c5f 100644
--- a/zathura.spec
+++ b/zathura.spec
@@ -31,6 +31,7 @@ BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	sphinx-pdg
 BuildRequires:	sqlite3-devel >= 3.5.9
 BuildRequires:	synctex-devel >= 1.19
+Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk-update-icon-cache
 Requires:	girara >= 0.3.7
 Requires:	glib2 >= 1:2.50.0
@@ -147,9 +148,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_icon_cache hicolor
+%update_desktop_database_post
 
 %postun
 %update_icon_cache hicolor
+%update_desktop_database_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zathura.git/commitdiff/d351d053dfdfb3264c78c6e6809f5682d3f242b5



More information about the pld-cvs-commit mailing list