diff --git a/bc.spec b/bc.spec index 17ce56a..e6f017f 100644 --- a/bc.spec +++ b/bc.spec @@ -1,7 +1,7 @@ Summary: GNU's bc (a numeric processing language) and dc (a calculator) Name: bc Version: 1.06 -Release: 25 +Release: 26 License: GPL URL: http://www.gnu.org/software/bc/ Group: Applications/Engineering @@ -10,7 +10,7 @@ Patch1: bc-1.06-readline42.patch Patch2: bc-1.06-s390.patch Patch3: bc-1.06-info_exp_bessel.patch Patch4: bc-1.06-flex.patch -Requires(post): /sbin/install-info grep mktemp +Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: readline-devel, flex, automake @@ -48,13 +48,6 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -rf $RPM_BUILD_ROOT %post -# previous versions of bc put an improper entry into %{_infodir}/dir -- remove -# it -if grep 'dc: (bc)' %{_infodir}/dir > /dev/null; then - tmpfile=`mktemp ${_infodir}/dir.XXXXXX` - grep -v 'The GNU RPN calculator' < %{_infodir}/dir > $tmpfile - mv -f $tmpfile %{_infodir}/dir -fi /sbin/install-info %{_infodir}/dc.info.gz %{_infodir}/dir --entry="* dc: (dc). The GNU RPN calculator." exit 0 @@ -73,6 +66,9 @@ exit 0 %{_infodir}/* %changelog +* Mon Feb 26 2007 Thomas Woerner 1.06-26 +- removed grep and mktemp usage from post script, also the requires + * Mon Feb 26 2007 Karsten Hopp 1.06-25 - fex supports -8 now (pmachata)