Don't complain if installing with --excludedocs (#515934)
This commit is contained in:
parent
10f084e9e5
commit
6163ef1354
22
bc.spec
22
bc.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: GNU's bc (a numeric processing language) and dc (a calculator)
|
Summary: GNU's bc (a numeric processing language) and dc (a calculator)
|
||||||
Name: bc
|
Name: bc
|
||||||
Version: 1.06
|
Version: 1.06
|
||||||
Release: 35%{?dist}
|
Release: 36%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.gnu.org/software/bc/
|
URL: http://www.gnu.org/software/bc/
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
@ -47,13 +47,19 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/bc.info %{_infodir}/dir --entry="* bc: (bc). The GNU calculator language." || :
|
if [ -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then
|
||||||
/sbin/install-info %{_infodir}/dc.info %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator."|| :
|
/sbin/install-info %{_infodir}/bc.info.gz %{_infodir}/dir \
|
||||||
|
--entry="* bc: (bc). The GNU calculator language." || :
|
||||||
|
/sbin/install-info %{_infodir}/dc.info.gz %{_infodir}/dir \
|
||||||
|
--entry="* dc: (dc). The GNU RPN calculator." || :
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 -a -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/bc.info %{_infodir}/dir --entry="* bc: (bc). The GNU calculator language." || :
|
/sbin/install-info --delete %{_infodir}/bc.info.gz %{_infodir}/dir \
|
||||||
/sbin/install-info --delete %{_infodir}/dc.info %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator." || :
|
--entry="* bc: (bc). The GNU calculator language." || :
|
||||||
|
/sbin/install-info --delete %{_infodir}/dc.info.gz %{_infodir}/dir \
|
||||||
|
--entry="* dc: (dc). The GNU RPN calculator." || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -65,6 +71,10 @@ fi
|
|||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
<<<<<<< bc.spec
|
||||||
|
* Thu Aug 20 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.06-36
|
||||||
|
- Don't complain if installing with --excludedocs (#515934)
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-35
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-35
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user