]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Use a %postun -p for one line scriptlet
authorMark McLoughlin <markmc@redhat.com>
Tue, 28 Jul 2009 17:50:30 +0000 (18:50 +0100)
committerMark McLoughlin <markmc@redhat.com>
Wed, 29 Jul 2009 07:45:25 +0000 (08:45 +0100)
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

index 6928c659ca8a80a30c50748b97f67c3304b2f6ae..95de04a834d3f0b9b83f72651f02eff33e1ba7a2 100644 (file)
@@ -436,8 +436,7 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)