[libvirt] [PATCH 1/3] Move ldconfig calls to libvirt-client %post/%postun

Mark McLoughlin markmc at redhat.com
Wed Jul 29 09:09:34 UTC 2009


Now that the library has moved to libvirt-client
---
 libvirt.spec.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 6228d0b..b79e766 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -411,7 +411,6 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/libvirtd
 rm -fr %{buildroot}
 
 %post
-/sbin/ldconfig
 
 %if %{with_libvirtd}
 %if %{with_qemu}
@@ -440,7 +439,9 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
-%postun -p /sbin/ldconfig
+%post client -p /sbin/ldconfig
+
+%postun client -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
-- 
1.6.2.5




More information about the libvir-list mailing list