On Tuesday, 20 September 2005 at 20:01, Jos Vos wrote:
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.
In this case, true. noarch is very special.
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.
It won't work with noarch, I've tried.
R.
--
APT/YUM RPM repository for Fedora Core
http://rpm.greysector.net/
mpg321, xmp, faad2, lame, mad, *mplayer*, rdesktop, tin, xvid, mks, mutt
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"