summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2009-02-15 16:28:26 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2009-02-15 16:28:26 +0800
commit227f950b2fae0ff5c37d773cb41f864a15138967 (patch)
treeac8886cf39b8247e60698abf2cef133df81edcf0
parent6b7c922f315c7817a6c64533f8b8eed7946eaa3d (diff)
downloadibus-227f950b2fae0ff5c37d773cb41f864a15138967.tar.gz
ibus-227f950b2fae0ff5c37d773cb41f864a15138967.tar.xz
ibus-227f950b2fae0ff5c37d773cb41f864a15138967.zip
Move ldconfig from main to libs rpm.
-rw-r--r--ibus.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ibus.spec.in b/ibus.spec.in
index d9d5dba..908ddbd 100644
--- a/ibus.spec.in
+++ b/ibus.spec.in
@@ -108,7 +108,7 @@ desktop-file-install --delete-original \
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post libs
/sbin/ldconfig
update-desktop-database -q
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
@@ -116,7 +116,7 @@ update-desktop-database -q
%post gtk
%{_bindir}/update-gtk-immodules %{_host} || :
-%postun
+%postun libs
/sbin/ldconfig
update-desktop-database -q
if [ "$1" = "0" ]; then