- do process install-info only without --excludedocs(#515914)

This commit is contained in:
Kamil Dudka 2009-09-14 13:52:37 +00:00
parent f20382f74f
commit 405c87b850
1 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of find utilities (find and xargs)
Name: findutils
Version: 4.4.2
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 1
License: GPLv3+
Group: Applications/File
@ -61,11 +61,16 @@ mv $RPM_BUILD_ROOT{%_bindir,/bin}/find
ln -sf ../../bin/find $RPM_BUILD_ROOT/usr/bin
%post
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir || :
if [ -f %{_infodir}/find.info.gz ]; then
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir || :
fi
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir || :
if [ -f %{_infodir}/find.info.gz ]; then
/sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir \
|| :
fi
fi
%clean
@ -84,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
%{_infodir}/find-maint.info.gz
%changelog
* Mon Sep 14 2009 Kamil Dudka <kdudka@redhat.com> - 1:4.4.2-3
- do process install-info only without --excludedocs(#515914)
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild