diff --git a/grep.spec b/grep.spec index 19d00bb..a968a28 100644 --- a/grep.spec +++ b/grep.spec @@ -1,7 +1,7 @@ Summary: The GNU versions of grep pattern matching utilities. Name: grep Version: 2.5.1 -Release: 56%{?dist} +Release: 57%{?dist} License: GPL Group: Applications/Text Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}a.tar.bz2 @@ -84,7 +84,7 @@ rm -rf ${RPM_BUILD_ROOT} %preun if [ $1 = 0 ]; then - [ -e %{_infodir}/grep.info.gz ] && /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz + [ -e %{_infodir}/grep.info.gz ] && /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz || : fi %files -f %{name}.lang @@ -100,6 +100,9 @@ fi %{_mandir}/*/* %changelog +* Mon Jan 22 2007 Tim Waugh 2.5.1-57 +- Make preun scriptlet unconditionally succeed (bug #223697). + * Wed Nov 22 2006 Tim Waugh 2.5.1-56 - Fixed count of patterns when the last is an empty string (bug #204255).