[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: howto generate i386 and noarch rpms from single .spec ?
- From: Jos Vos <jos xos nl>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: howto generate i386 and noarch rpms from single .spec ?
- Date: Tue, 20 Sep 2005 20:01:13 +0200
On Tue, Sep 20, 2005 at 01:28:54PM -0400, Ignacio Vazquez-Abrams wrote:
> On Tue, 2005-09-20 at 12:05 -0400, John Ellson wrote:
> > I know how to generate multiple rpms from a single .spec, but I don't
> > know how to generate
> > a mix of .i386 and .noarch rpms. Is this possible?
>
> You can't. Single spec file, single arch.
Not true, see the kernel spec file as a counter example.
Use
%ifarch noarch
...
%endif
and
%ifarch i386
...
%endif
in your spec file and generate with "--target noarch" and
"--target i386" (default for ix86 systems). Do not include
a BuildArch header.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]