[libvirt] [PATCH 11/14] Use a %postun -p for one line scriptlet

Mark McLoughlin markmc at redhat.com
Tue Jul 28 18:44:14 UTC 2009


Changed by Rich Jones, presumably for this:

  libvirt.x86_64: W: one-line-command-in-%postun /sbin/ldconfig

see:

  https://bugzilla.redhat.com/226055
---
 libvirt.spec.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 2645a22..448e760 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -441,8 +441,7 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
-- 
1.6.2.5




More information about the libvir-list mailing list