Use a %postun -p for one line scriptlet

Changed by Rich Jones, presumably for this:

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

see:

  https://bugzilla.redhat.com/226055
This commit is contained in:
Mark McLoughlin 2009-07-28 18:50:30 +01:00
parent f69b841d2b
commit 70a339970c

View File

@ -436,8 +436,7 @@ if [ $1 = 0 ]; then
fi
%endif
%postun
/sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)