[packages/zathura-cb] add %update_desktop_database_post*

atler atler at pld-linux.org
Mon Oct 22 00:44:53 CEST 2018


commit 0a5f04157c7e01bd71693204db1e719f54a7d80c
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Oct 22 00:44:40 2018 +0200

    add %update_desktop_database_post*

 zathura-cb.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/zathura-cb.spec b/zathura-cb.spec
index 0e5369b..d4d0c75 100644
--- a/zathura-cb.spec
+++ b/zathura-cb.spec
@@ -11,14 +11,15 @@ URL:		https://pwmt.org/projects/zathura-cb/
 BuildRequires:	cairo-devel
 # C11
 BuildRequires:	gcc >= 6:4.7
-BuildRequires:	glib2-devel >= 2.0
 BuildRequires:	girara-devel >= 0.1.8
+BuildRequires:	glib2-devel >= 2.0
 BuildRequires:	libarchive-devel
 BuildRequires:	meson >= 0.43
 BuildRequires:	ninja
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.727
 BuildRequires:	zathura-devel >= 0.3.8
+Requires(post,postun):	desktop-file-utils
 Requires:	girara >= 0.1.8
 Requires:	zathura >= 0.3.8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,6 +46,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS LICENSE README
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zathura-cb.git/commitdiff/0a5f04157c7e01bd71693204db1e719f54a7d80c



More information about the pld-cvs-commit mailing list