]> git.pld-linux.org Git - packages/zathura-cb.git/commitdiff
add %update_desktop_database_post*
authorJan Palus <atler@pld-linux.org>
Sun, 21 Oct 2018 22:44:40 +0000 (00:44 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 21 Oct 2018 22:44:40 +0000 (00:44 +0200)
zathura-cb.spec

index 0e5369be0ef2cdccb32213760235d3bf61f40326..d4d0c7506f68f8f7c956dbfb1f78c83dac5db54f 100644 (file)
@@ -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
This page took 0.0926900000000001 seconds and 4 git commands to generate.