[packages/zathura-ps] add %update_desktop_database_post*
atler
atler at pld-linux.org
Mon Oct 22 00:45:50 CEST 2018
commit b755f97fd548c6f73a734be85618f9dc315c2e41
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Oct 22 00:45:37 2018 +0200
add %update_desktop_database_post*
zathura-ps.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/zathura-ps.spec b/zathura-ps.spec
index 27a9898..1fd5ed1 100644
--- a/zathura-ps.spec
+++ b/zathura-ps.spec
@@ -11,14 +11,15 @@ URL: https://pwmt.org/projects/zathura-ps/
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: libspectre-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)
@@ -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-ps.git/commitdiff/b755f97fd548c6f73a734be85618f9dc315c2e41
More information about the pld-cvs-commit
mailing list