howto generate i386 and noarch rpms from single .spec ?
Ignacio Vazquez-Abrams
ivazquez at ivazquez.net
Tue Sep 20 22:51:41 UTC 2005
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 at ivazquez.net>
http://fedora.ivazquez.net/
gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050920/db4c852b/attachment.sig>
More information about the fedora-devel-list
mailing list