commit 0a5f04157c7e01bd71693204db1e719f54a7d80c
Author: Jan Palus <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to