diff --git a/ibus-anthy.spec b/ibus-anthy.spec index 27899eb..6faf88b 100644 --- a/ibus-anthy.spec +++ b/ibus-anthy.spec @@ -18,7 +18,7 @@ Name: ibus-anthy Version: 1.5.12 -Release: 5%{?dist} +Release: 6%{?dist} Summary: The Anthy engine for IBus input platform License: GPLv2+ URL: https://github.com/ibus/ibus/wiki @@ -120,6 +120,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-anthy.desktop +%posttrans +/sbin/ldconfig +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : + %files -f %{name}.lang %doc AUTHORS COPYING README # dir {python2_sitearch}/ibus @@ -150,6 +155,9 @@ desktop-file-validate \ %{_datadir}/installed-tests/%{name} %changelog +* Wed Apr 21 2021 Takao Fujiwara - 1.5.12-6 +- Move post to posttrans + * Tue Apr 20 2021 Takao Fujiwara - 1.5.12-5 - Delete postscripts