diff --git a/coreutils.changes b/coreutils.changes index 4ee4a7a..9e4bc27 100644 --- a/coreutils.changes +++ b/coreutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 19 13:04:44 UTC 2012 - idonmez@suse.com + +- Statically link to gmp otherwise expr depends on gmp and gmp + configure script depends on expr which creates a build cycle. + ------------------------------------------------------------------- Thu Nov 8 13:12:25 CET 2012 - pth@suse.de diff --git a/coreutils.spec b/coreutils.spec index df4c321..92d4c21 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -132,6 +132,9 @@ uname unexpand uniq unlink uptime users vdir wc who whoami yes xz -dc %{S:4} >po/de.po +# We need to statically link to gmp, otherwise we have a build loop +sed -i s,'$(LIB_GMP)',%{_libdir}/libgmp.a,g src/Makefile.am + %build AUTOPOINT=true autoreconf -fi export CFLAGS="%optflags -Wall"