From efd98be8f7228394913361bf2733ee5c460d825f Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Thu, 17 Sep 2009 11:04:42 +0000 Subject: [PATCH] - do process install-info only without --excludedocs(#515943) --- nano.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/nano.spec b/nano.spec index 8ffccb9..7be44fa 100644 --- a/nano.spec +++ b/nano.spec @@ -1,7 +1,7 @@ Summary: A small text editor Name: nano Version: 2.0.6 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: Applications/Editors URL: http://www.nano-editor.org @@ -35,12 +35,16 @@ rm -f %{buildroot}%{_infodir}/dir %find_lang %{name} %post -/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir +if [ -f %{_infodir}/%{name}.info.gz ]; then + /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir +fi exit 0 - + %preun if [ $1 -eq 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir + if [ -f %{_infodir}/%{name}.info.gz ]; then + /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir + fi fi exit 0 @@ -49,7 +53,7 @@ rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO +%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO %doc doc/nanorc.sample %doc doc/faq.html %{_bindir}/* @@ -59,6 +63,9 @@ rm -rf %{buildroot} %{_datadir}/nano %changelog +* Thu Sep 17 2009 Kamil Dudka - 2.0.6-8 +- do process install-info only without --excludedocs(#515943) + * Sat Jul 25 2009 Fedora Release Engineering - 2.0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild