- Silence possible scriptlets errors

This commit is contained in:
Lubomir Rintel 2009-08-11 12:41:52 +00:00
parent 5749f1ac14
commit 8f88072ad1

View File

@ -3,7 +3,7 @@
Summary: Pattern matching utilities
Name: grep
Version: 2.5.3
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv3+
Group: Applications/Text
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.bz2
@ -58,9 +58,11 @@ make check ||:
rm -rf ${RPM_BUILD_ROOT}
%post
exec >/dev/null 2>&1
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/grep.info.gz || :
%preun
exec >/dev/null 2>&1
if [ $1 = 0 ]; then
/sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz || :
fi
@ -74,6 +76,9 @@ fi
%{_mandir}/*/*
%changelog
* Tue Aug 11 2009 Lubomir Rintel <lkundrak@v3.sk> 2.5.3-6
- Silence possible scriptlets errors
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild