[packages/simple-scan] update desktop database

atler atler at pld-linux.org
Fri May 10 19:16:29 CEST 2024


commit f1bd4502648023bd5585ec8eadfa0089093c3a74
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 10 18:53:37 2024 +0200

    update desktop database

 simple-scan.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/simple-scan.spec b/simple-scan.spec
index fd7c4ce..1851310 100644
--- a/simple-scan.spec
+++ b/simple-scan.spec
@@ -35,6 +35,7 @@ BuildRequires:	vala-libhandy1 >= 1.5.0
 BuildRequires:	yelp-tools
 BuildRequires:	xz
 BuildRequires:	zlib-devel
+Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	glib2 >= 1:2.38
 Requires:	PackageKit >= 1.1.5
 Requires:	glib2 >= 1:2.38
@@ -78,10 +79,12 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %glib_compile_schemas
 %update_icon_cache hicolor
+%update_desktop_database_post
 
 %postun
 %glib_compile_schemas
 %update_icon_cache hicolor
+%update_desktop_database_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/simple-scan.git/commitdiff/f1bd4502648023bd5585ec8eadfa0089093c3a74



More information about the pld-cvs-commit mailing list