From 169f41e73b77bcd46f648f6692b14c3eb5512f1b Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Mon, 26 Jun 2006 16:13:09 +0000 Subject: [PATCH] - move install-info from postun to preun --- util-linux.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/util-linux.spec b/util-linux.spec index 1d40704..bd8e544 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -25,7 +25,7 @@ BuildRoot: %{_tmppath}/%{name}-root Summary: A collection of basic system utilities. Name: util-linux Version: 2.13 -Release: 0.27 +Release: 0.28 License: distributable Group: System Environment/Base @@ -505,10 +505,11 @@ if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then chcon `matchpathcon -n /var/log/lastlog` /var/log/lastlog >/dev/null 2>&1 fi -%postun +%preun if [ "$1" = 0 ]; then /sbin/install-info --del %{_infodir}/ipc.info* %{_infodir}/dir fi +exit 0 %files -f %{name}.lang %defattr(-,root,root) @@ -697,6 +698,9 @@ fi /sbin/losetup %changelog +* Mon Jun 26 2006 Florian La Roche +- move install-info parts from postun to preun + * Wed Jun 21 2006 Dan Walsh 2.13-0.27 - Only execute chcon on machines with selinux enabled