From 405c87b8509d837e06da426c65d62cf324a35deb Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mon, 14 Sep 2009 13:52:37 +0000 Subject: [PATCH] - do process install-info only without --excludedocs(#515914) --- findutils.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/findutils.spec b/findutils.spec index e03b140..3a4b154 100644 --- a/findutils.spec +++ b/findutils.spec @@ -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 - 1:4.4.2-3 +- do process install-info only without --excludedocs(#515914) + * Fri Jul 24 2009 Fedora Release Engineering - 1:4.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild