howto generate i386 and noarch rpms from single .spec ?
Jos Vos
jos at xos.nl
Tue Sep 20 22:33:48 UTC 2005
On Wed, Sep 21, 2005 at 12:23:11AM +0200, Dominik 'Rathann' Mierzejewski wrote:
> > %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.
>
> It won't work with noarch, I've tried.
I guess we're talking about different things...
For the kernel spec file (I'm talking about the RHEL4 rpm, but I guess
the FCx rpm's are similar) building it with "--target noarch" generates
a kernel-doc packagem while it generates other packages with other
targets, like "--target i686".
--
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the devel
mailing list