diff --git a/ibus-rawcode.spec b/ibus-rawcode.spec index 459e011..e6a3157 100644 --- a/ibus-rawcode.spec +++ b/ibus-rawcode.spec @@ -1,6 +1,6 @@ Name: ibus-rawcode Version: 1.3.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Rawcode engine for IBus input platform License: GPLv2+ Group: System Environment/Libraries @@ -13,7 +13,7 @@ BuildRequires: pkgconfig BuildRequires: ibus-devel -Requires: ibus +Requires: ibus >= 1.5.3 %description The Rawcode engine for IBus platform. @@ -32,6 +32,13 @@ rm -f $RPM_BUILD_ROOT%{python_sitearch}/_rawcode.la %find_lang %{name} +%post +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : + +%postun +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : %files -f %{name}.lang %doc AUTHORS COPYING README @@ -40,6 +47,9 @@ rm -f $RPM_BUILD_ROOT%{python_sitearch}/_rawcode.la %{_datadir}/ibus/component/* %changelog +* Fri Oct 04 2013 Pravin Satpute - 1.3.2-3 +- Resolves #1013989: ibus write-cache --system + * Sat Aug 03 2013 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild