[opensuse-buildservice] x86_64 %files
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 -- Andrew Wafaa, RHCT Tel: +44 (0)7974 074546 e-Mail: andrew@forcev.net http://www.forcev.net --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-----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 - -- 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 iQCVAwUBRWMk944ZiDH/u3NpAQJzcgP/W1wWqZFCbRIPPhvzqmaOpknTtS4+jFAg WuAQMntKfagGYmv1byH+AdLJ9ocFFRAKnH046XbivO+x0FNUrx3EDKPD4cZR83iZ oNU8f36VeNVPaCUeM6uXUVNgsRocjIcKVLMm5syvbxtf8ikyCIsRWqGJlJk5JqBT Ra5HPZc17us= =Mklo -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-----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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Do you mean distinguishing between the architectures?
You can use
%ifarch i586 <your %files entry> %endif
Daniel, That was exactly what I was after. Many thanks for the help. Regards, Andy -- Andrew Wafaa Tel: +44 (0)7974 074546 e-Mail: andrew@forcev.net http://www.forcev.net --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2006-11-21 16:07:30 +0000, Andrew Wafaa wrote:
Date: Tue, 21 Nov 2006 16:07:30 +0000 (GMT) From: Andrew Wafaa <andrew@forcev.net> Subject: [opensuse-buildservice] x86_64 %files To: openSUSE-BuildService List <opensuse-buildservice@opensuse.org>
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.
are those files in /usr/lib on i386? if so, use the %{_libdir} macro darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Andrew Wafaa
-
Daniel Bornkessel
-
Marcus Rueckert
-
Michael Schroeder