diff --git a/ibus-table.spec b/ibus-table.spec index f4334a7..0c4bd26 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,6 +1,6 @@ Name: ibus-table Version: 1.12.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ URL: http://code.google.com/p/ibus/ @@ -117,6 +117,10 @@ if [ $rc != 0 ] ; then exit $rc fi +%posttrans +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : + %files -f %{name}.lang %doc AUTHORS COPYING README %{_datadir}/%{name} @@ -139,6 +143,9 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Wed Apr 21 2021 Mike FABIAN - 1.12.5-3 +- Resolves: rhbz#1948197 Change post to posttrans + * Mon Apr 19 2021 Mike FABIAN - 1.12.5-2 - Remove post and postun (Related: rhbz#1948197)