Package review (#225611)

This commit is contained in:
Zdenek Prikryl 2007-12-07 08:46:25 +00:00
parent d91f8a97ca
commit 697e9b8c80

17
bc.spec
View File

@ -1,7 +1,7 @@
Summary: GNU's bc (a numeric processing language) and dc (a calculator)
Name: bc
Version: 1.06
Release: 29
Release: 30%{?dist}
License: GPL
URL: http://www.gnu.org/software/bc/
Group: Applications/Engineering
@ -52,24 +52,27 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/dc.info.gz %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator."
exit 0
/sbin/install-info %{_infodir}/bc.info %{_infodir}/dir --entry="* bc: (bc). The GNU RPN calculator langiage." || :
/sbin/install-info %{_infodir}/dc.info %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator."|| :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/dc.info.gz %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator."
/sbin/install-info --delete %{_infodir}/bc.info %{_infodir}/dir --entry="* bc: (bc). The GNU RPN calculator langiage." || :
/sbin/install-info --delete %{_infodir}/dc.info %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator." || :
fi
exit 0
%files
%defattr(-,root,root,-)
%doc COPYING COPYING.LIB FAQ AUTHORS NEWS README
/usr/bin/dc
/usr/bin/bc
%{_bindir}/dc
%{_bindir}/bc
%{_mandir}/*/*
%{_infodir}/*
%changelog
* Fri Dec 07 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-30.fc9
- Package review (#225611)
* Tue Sep 18 2007 Zdenek Prikryl <zprikryl@redhat.com> 1.06-29
- update of source URI