install-info should exit gracefully when --nodocs
This commit is contained in:
parent
92062b0957
commit
4308229842
@ -39,11 +39,13 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
|
||||||
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/which.info.gz
|
/sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/which.info.gz
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -57,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 06 2008 Warren Togami <wtogami@redhat.com> 2.19-3
|
||||||
|
- install-info should exit gracefully when --nodocs
|
||||||
|
|
||||||
* Fri Feb 15 2008 Than Ngo <than@redhat.com> 2.19-2
|
* Fri Feb 15 2008 Than Ngo <than@redhat.com> 2.19-2
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user