Re: howto generate i386 and noarch rpms from single .spec ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux