[packages/caja] update desktop database

atler atler at pld-linux.org
Thu Oct 12 18:46:51 CEST 2023


commit 6c2b939ae8649f73e7f9402420d2ec4366bf9204
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Oct 12 18:46:02 2023 +0200

    update desktop database

 caja.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/caja.spec b/caja.spec
index c46b6e2..2e51faa 100644
--- a/caja.spec
+++ b/caja.spec
@@ -42,6 +42,7 @@ BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXext-devel
 BuildRequires:	xorg-lib-libXrender-devel
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk-update-icon-cache
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	exempi >= 1.99.5
@@ -183,16 +184,18 @@ rm -rf $RPM_BUILD_ROOT
 %update_mime_database
 %update_icon_cache hicolor
 %glib_compile_schemas
+%update_desktop_database_post
 
 %postun
 %update_mime_database
 %update_icon_cache hicolor
 %glib_compile_schemas
+%update_desktop_database_postun
 
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
-%files  -f caja.lang
+%files -f caja.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/caja
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/caja.git/commitdiff/8f1e55f6c08439d7dc115a60bed43c0c0352b9c8



More information about the pld-cvs-commit mailing list