[packages/gparted] update desktop database

atler atler at pld-linux.org
Fri Mar 1 15:57:12 CET 2024


commit c79e33133b8145a7092632319c35e2a6f0a807ad
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 1 15:14:25 2024 +0100

    update desktop database

 gparted.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gparted.spec b/gparted.spec
index 5a4be0c..e7563ff 100644
--- a/gparted.spec
+++ b/gparted.spec
@@ -27,6 +27,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	polkit >= 0.102
 BuildRequires:	rpmbuild(find_lang) >= 1.23
 BuildRequires:	rpmbuild(macros) >= 1.311
+Requires(post,postun):	desktop-file-utils
 Requires:	glibmm >= 2.45.40
 Requires:	gtkmm3 >= 3.22.0
 Requires:	hicolor-icon-theme
@@ -83,9 +84,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_icon_cache hicolor
+%update_desktop_database_post
 
 %postun
 %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/gparted.git/commitdiff/c79e33133b8145a7092632319c35e2a6f0a807ad



More information about the pld-cvs-commit mailing list