Mailinglist Archive: opensuse-buildservice (253 mails)

< Previous Next >
Re: [opensuse-buildservice] x86_64 %files
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Tue, 21 Nov 2006 17:13:26 +0100
  • Message-id: <20061121161325.GA17670@xxxxxxx>
On Tue, Nov 21, 2006 at 05:10:31PM +0100, Daniel Bornkessel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew Wafaa wrote:
> > Hi and hopefully I want anger too many people with my question.
> >
> > I am trying to build Hula, and so far I am only able to build for SUSE 10.1 i586. x86_64 is failing due to a missing entry in %files, which I am aware of. My question is this: How do I specify the requirement in %files for x86_64 so that I can build both i586 and x86_64 architectures from the same spec file.
> >
> > Many thanks,
> >
> > Andy
> >
> Do you mean distinguishing between the architectures?
>
> You can use
>
> %ifarch i586
> <your %files entry>
> %endif

Make that

%ifarch %ix86
<your %files entry>
%endif

so that it also works for i386/i486/i686.

Cheers,
Michael.


---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups