tagoh pushed to mozc (epel7). "Update ibus cache at %post/%postun."
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Jun 4 04:52:18 UTC 2015
From 0cfd2ec9a82b0e01e2238a7d8243fe5dbeca8c04 Mon Sep 17 00:00:00 2001
From: Akira TAGOH <tagoh at redhat.com>
Date: Fri, 27 Sep 2013 15:33:41 +0900
Subject: Update ibus cache at %post/%postun.
diff --git a/mozc.spec b/mozc.spec
index ab681b4..e96396b 100644
--- a/mozc.spec
+++ b/mozc.spec
@@ -2,7 +2,7 @@
Name: mozc
Version: 1.11.1522.102
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Japanese Input Method Editor (IME) designed for multi-platform
Group: System Environment/Libraries
@@ -169,6 +169,12 @@ install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
xemacs -batch -f batch-byte-compile $RPM_BUILD_ROOT%{_xemacs_sitelispdir}/%{pkg}/mozc.el
+%post -n ibus-mozc
+[ -x %{_bindir}/ibus ] && %{_bindir}/ibus write-cache --system >& /dev/null || :
+
+%postun -n ibus-mozc
+[ -x %{_bindir}/ibus ] && %{_bindir}/ibus write-cache --system >& /dev/null || :
+
%files
%dir %{_libexecdir}/mozc
%{_libexecdir}/mozc/mozc_server
@@ -203,6 +209,9 @@ xemacs -batch -f batch-byte-compile $RPM_BUILD_ROOT%{_xemacs_sitelispdir}/%{pkg}
%{_xemacs_sitelispdir}/%{pkg}/*.el
%changelog
+* Fri Sep 27 2013 Akira TAGOH <tagoh at redhat.com> - 1.11.1522.102-2
+- Update ibus cache at %%post/%%postun.
+
* Tue Sep 3 2013 Akira TAGOH <tagoh at redhat.com> - 1.11.1522.102-1
- New upstream release (#1003331)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/mozc.git/commit/?h=epel7&id=0cfd2ec9a82b0e01e2238a7d8243fe5dbeca8c04
More information about the scm-commits
mailing list