Mailinglist Archive: opensuse-buildservice (253 mails)

< Previous Next >
Re: [opensuse-buildservice] x86_64 %files
  • From: Daniel Bornkessel <dbornkessel@xxxxxxx>
  • Date: Tue, 21 Nov 2006 17:15:17 +0100
  • Message-id: <45632615.30304@xxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Schroeder wrote:
> 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.

urgs ... of course :$

- --
Daniel Bornkessel Tel: +49 911 740 53 161
Novell :: SUSE R&D :: Internal Tools / Java Packaging
______________________________________________________________________
Key fingerprint = 9012 D34F D3E1 FB50 BF89 FD04 8E19 8831 FFBB 7369
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iQCVAwUBRWMmFY4ZiDH/u3NpAQLxrwQAnSOW2Bl2+Kp7VPc536hX9YAL7cttamji
sCKXQhYAyXEa3ttLMcj3mripP49pfevQD/uy5uNgNfK3RS4U+gib1PHpvHHvJl9p
zDiM+N/YAuYnOgssWvrqNsATs1AJ5s7MOTi2WugxrvD6b6OOzc7YSvK5gpvVRqpl
SoRpxcV1OdQ=
=bwo7
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >