]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Move ldconfig calls to libvirt-client %post/%postun
authorMark McLoughlin <markmc@redhat.com>
Wed, 29 Jul 2009 08:55:43 +0000 (09:55 +0100)
committerMark McLoughlin <markmc@redhat.com>
Wed, 29 Jul 2009 08:55:43 +0000 (09:55 +0100)
Now that the library has moved to libvirt-client

libvirt.spec.in

index 6228d0b26d733ddb207edf609860cdde421ca797..b79e766001d65e416f485cef830d459956b0730f 100644 (file)
@@ -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)