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

This commit is contained in:
Kamil Dudka 2009-09-17 11:04:42 +00:00
parent b9f279e3b5
commit efd98be8f7

View File

@ -1,7 +1,7 @@
Summary: A small text editor Summary: A small text editor
Name: nano Name: nano
Version: 2.0.6 Version: 2.0.6
Release: 7%{?dist} Release: 8%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/Editors Group: Applications/Editors
URL: http://www.nano-editor.org URL: http://www.nano-editor.org
@ -35,12 +35,16 @@ rm -f %{buildroot}%{_infodir}/dir
%find_lang %{name} %find_lang %{name}
%post %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 exit 0
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
if [ -f %{_infodir}/%{name}.info.gz ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
fi
fi fi
exit 0 exit 0
@ -59,6 +63,9 @@ rm -rf %{buildroot}
%{_datadir}/nano %{_datadir}/nano
%changelog %changelog
* Thu Sep 17 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.6-8
- do process install-info only without --excludedocs(#515943)
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-7 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild