Move ldconfig from main to libs rpm.
authorHuang Peng <shawn.p.huang@gmail.com>
Sun, 15 Feb 2009 08:28:26 +0000 (16:28 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Sun, 15 Feb 2009 08:28:26 +0000 (16:28 +0800)
ibus.spec.in

index d9d5dba..908ddbd 100644 (file)
@@ -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