On Wed, 2005-09-21 at 00:33 +0200, Jos Vos wrote:
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".
Let me then clarify my initial statement then. It is possible to have a
single spec file output packages for multiple archs, but not in a single
pass.
--
Ignacio Vazquez-Abrams <ivazquez(a)ivazquez.net>
http://fedora.ivazquez.net/
gpg --keyserver
hkp://subkeys.pgp.net --recv-key 38028b72