commit a0c602d22df5a020e32a99b2936614d61afbd500
Author: Jan Palus <[email protected]>
Date:   Mon Oct 22 00:45:10 2018 +0200

    add %update_desktop_database_post*

 zathura-djvu.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/zathura-djvu.spec b/zathura-djvu.spec
index bab91e5..9a06b99 100644
--- a/zathura-djvu.spec
+++ b/zathura-djvu.spec
@@ -12,13 +12,14 @@ BuildRequires:      cairo-devel
 BuildRequires: djvulibre-devel
 # C11
 BuildRequires: gcc >= 6:4.7
-BuildRequires: glib2-devel >= 2.0
 BuildRequires: girara-devel >= 0.1.8
+BuildRequires: glib2-devel >= 2.0
 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)
@@ -47,6 +48,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
================================================================

---- gitweb:

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

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

Reply via email to