Re: %setup

Jos Vos <[email protected]> Tue, 22 Jul 2008 08:12:47 +0200
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Mon, Jul 21, 2008 at 05:58:14PM -0500, Richard Shade wrote:

> I am rebuilding an rpm, half way thru I get :
> checking host system type... Invalid configuration
> `x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized
> checking build system type... Invalid configuration
> `x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized
> 
> configure is getting passed this: --host=x86_64-redhat-linux-gnu
> --build=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux
> I think this may be because of the options for the %setup macro, is there a
> place I can find the definition of the options for %setup

%setup does only unpack, but %configure runs ./configure with several
options.  Do "rpm --eval '%configure'" to see what command is used.

-- 
--    Jos Vos <[email protected]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204