[packages/virt-viewer] update desktop database
atler
atler at pld-linux.org
Tue Nov 8 12:46:20 CET 2022
commit 22ff1afa2b18b092fc9cf02297baf7e20b504e33
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Nov 8 12:45:51 2022 +0100
update desktop database
virt-viewer.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/virt-viewer.spec b/virt-viewer.spec
index 90265f3..9cd0122 100644
--- a/virt-viewer.spec
+++ b/virt-viewer.spec
@@ -40,6 +40,7 @@ BuildRequires: spice-protocol >= 0.12.7
BuildRequires: tar >= 1:1.22
BuildRequires: vte-devel
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): shared-mime-info
Requires: glib2 >= 1:2.40.0
@@ -110,10 +111,12 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%post
+%update_desktop_database_post
%update_icon_cache hicolor
%update_mime_database
%postun
+%update_desktop_database_postun
%update_icon_cache hicolor
%update_mime_database
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/virt-viewer.git/commitdiff/22ff1afa2b18b092fc9cf02297baf7e20b504e33
More information about the pld-cvs-commit
mailing list