diff --git a/coreutils-7.0-expr-removebignumoptions.patch b/coreutils-7.0-expr-removebignumoptions.patch index 8d9f241..8916b47 100644 --- a/coreutils-7.0-expr-removebignumoptions.patch +++ b/coreutils-7.0-expr-removebignumoptions.patch @@ -1,3 +1,26 @@ +diff -urNp coreutils-7.0-orig/doc/coreutils.texi coreutils-7.0/doc/coreutils.texi +--- coreutils-7.0-orig/doc/coreutils.texi 2008-12-03 23:57:52.000000000 +0100 ++++ coreutils-7.0/doc/coreutils.texi 2008-12-04 00:00:51.000000000 +0100 +@@ -11167,17 +11167,8 @@ types, but if a numeric overflow occurs + with support for the GNU MP library, @command{expr}, it + uses arbitrary-precision arithmetic. + +-Apart from @option{--help} and @option{--version} (@pxref{Common +-options}), the following options are supported: +- +-@table @samp +-@item --bignum +-Perform arithmetic operations using unlimited precision via the GNU MP library. +-@item --no-bignum +-Use only limited-precision native operations. +-In the event of numeric overflow, @command{expr} fails, +-even if GNU MP is available. +-@end table ++The only options are @option{--help} and @option{--version}. @xref{Common ++options}. Options must precede operands. + + @cindex exit status of @command{expr} + Exit status: diff -urNp coreutils-7.0-orig/src/expr.c coreutils-7.0/src/expr.c --- coreutils-7.0-orig/src/expr.c 2008-08-24 22:58:15.000000000 +0200 +++ coreutils-7.0/src/expr.c 2008-10-21 15:47:06.000000000 +0200 diff --git a/coreutils.spec b/coreutils.spec index f072acc..33dc730 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,7 +1,7 @@ Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 7.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ Group: System Environment/Base Url: http://www.gnu.org/software/coreutils/ @@ -320,6 +320,9 @@ fi /sbin/runuser %changelog +* Thu Dec 04 2008 Ondrej Vasik - 7.0-5 +- fix info documentation for expr command as well(#474434) + * Thu Dec 04 2008 Ondrej Vasik - 7.0-4 - fixed syntax error w/ "expr" command using negative string/integer as first (i.e expr -125) - due to