Run update-gtk-immodules `uname -i` in rpm post script.
authorHuang Peng <shawn.p.huang@gmail.com>
Tue, 24 Jun 2008 17:27:46 +0000 (01:27 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Tue, 24 Jun 2008 17:27:46 +0000 (01:27 +0800)
ibus.spec.in

index fe272ef..fdb1993 100644 (file)
@@ -72,6 +72,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/immodules/im-ibus.la
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post gtk
+%{_bindir}/update-gtk-immodules %{_host} || :
+
 %files
 # -f %{name}.lang
 %defattr(-,root,root,-)