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