From b83638713f5a23aab59ac5b8a6b52a8e09b955d6 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Thu, 5 Jul 2007 08:17:40 +0000 Subject: [PATCH] - properly delete info file on preun --- units.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/units.spec b/units.spec index aa7c375..2049872 100644 --- a/units.spec +++ b/units.spec @@ -1,7 +1,7 @@ Summary: A utility for converting amounts from one unit to another Name: units Version: 1.86 -Release: 5%{?dist} +Release: 6%{?dist} Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz URL: http://www.gnu.org/software/units/units.html License: GPL @@ -40,7 +40,7 @@ exit 0 %preun if [ "$1" = 0 ]; then - /sbin/install-info %{_infodir}/units.info.gz --delete %{_infodir}/dir + /sbin/install-info --delete %{_infodir}/units.info.gz %{_infodir}/dir fi exit 0 @@ -53,6 +53,9 @@ exit 0 %{_mandir}/man1/* %changelog +* Thu Jul 05 2007 Florian La Roche +- fix preun script to properly remove the info file + * Fri Mar 23 2007 Harald Hoyer - 1.86-5%{?dist} - more specfile cleanups