Write ibus system cache when install or uninstall
This commit is contained in:
parent
09fa2bfe4e
commit
bdf93b3eac
@ -2,7 +2,7 @@
|
||||
|
||||
Name: ibus-libpinyin
|
||||
Version: 1.6.91
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Intelligent Pinyin engine based on libpinyin for IBus
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -60,6 +60,14 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
|
||||
%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
|
||||
%{_datadir}/applications/ibus-setup-libpinyin.desktop
|
||||
@ -78,6 +86,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
%{_datadir}/ibus/component/*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 8 2013 Peng Wu <pwu@redhat.com> - 1.6.91-4
|
||||
- Write ibus system cache when install or uninstall
|
||||
|
||||
* Wed Jul 31 2013 Peng Wu <pwu@redhat.com> - 1.6.91-3
|
||||
- Fixes lua 5.2 compile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user