From: Jan Palus Date: Thu, 6 Jun 2024 18:20:57 +0000 (+0200) Subject: update desktop database X-Git-Tag: auto/th/pidgin-2.14.13-1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=packages%2Fpidgin.git update desktop database --- diff --git a/pidgin.spec b/pidgin.spec index 6b70893..892db70 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -109,6 +109,7 @@ BuildRequires: xorg-lib-libXScrnSaver-devel BuildRequires: doxygen BuildRequires: graphviz %endif +Requires(post,postun): desktop-file-utils Requires(post,postun): gtk-update-icon-cache Requires(post,postun): hicolor-icon-theme %{?with_gconf:Requires(post,preun): GConf2 >= 2.16.0} @@ -650,12 +651,14 @@ if [ "$1" = 1 ]; then Please do not forget to install libpurple-protocols what do you need! EOF fi +%update_desktop_database_post %preun %{?with_gconf:%gconf_schema_uninstall purple.schemas} %postun %update_icon_cache hicolor +%update_desktop_database_postun %post -n libpurple -p /sbin/ldconfig %postun -n libpurple -p /sbin/ldconfig