From d05fed8b8538898a5451f9c62668267418231b918e132bf6f7a8dfd5219c7517 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 1 Oct 2015 09:54:59 +0000 Subject: [PATCH] Accepting request 335154 from home:tiwai:branches:M17N - Add missing post/postun macro calls for updating desktops and icons (boo#947842) - Remove superfluous ldconfig calls from the main package post/postun OBS-URL: https://build.opensuse.org/request/show/335154 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=122 --- fcitx.changes | 8 ++++++++ fcitx.spec | 13 ++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/fcitx.changes b/fcitx.changes index 5b3f1d3..add30e8 100644 --- a/fcitx.changes +++ b/fcitx.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 1 11:30:10 CEST 2015 - tiwai@suse.de + +- Add missing post/postun macro calls for updating desktops and + icons (boo#947842) +- Remove superfluous ldconfig calls from the main package + post/postun + ------------------------------------------------------------------- Wed Oct 1 06:06:23 UTC 2015 - hillwood@linuxfans.org diff --git a/fcitx.spec b/fcitx.spec index 4e47e20..dd2f0ec 100644 --- a/fcitx.spec +++ b/fcitx.spec @@ -54,16 +54,17 @@ BuildRequires: fdupes %if 0%{?suse_version} > 1110 BuildRequires: libqt4-devel %endif -BuildRequires: pkgconfig(lua) BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gtk2-devel BuildRequires: opencc-devel +BuildRequires: pkgconfig(lua) %if 0%{?suse_version} >= 1140 BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel %endif BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme BuildRequires: libicu-devel BuildRequires: libxml2-devel BuildRequires: pkg-config @@ -489,9 +490,15 @@ fi %endif -%post -p /sbin/ldconfig +%post +%desktop_database_post +%icon_theme_cache_post +exit 0 -%postun -p /sbin/ldconfig +%postun +%desktop_database_postun +%icon_theme_cache_postun +exit 0 %post -n lib%{name}%{libver} -p /sbin/ldconfig