RPM Community Forums

Mailing List Message of <rpm-devel>

Re: noarch sub-packages

From: Alexey Tourbin <at@altlinux.ru>
Date: Mon 16 Jun 2008 - 08:08:04 CEST
Message-ID: <20080616060803.GG17919@solemn.turbinal>
On Mon, Jun 16, 2008 at 01:57:13AM -0400, Jeff Johnson wrote:
> >It looks like you cannot specify "BuildArch: %_target_cpu" in toplevel
> >package.
> 
> Ah, I have a reproducer for the flaw now, fixing todo++.

I believe there's an easier way to introduce noarch subpackages
(i.e. without explicit spec->toplevel and pkg->noarch bookkeeping).
You can simply check for (pkg == spec->packages).
http://git.altlinux.org/people/at/packages/rpm.git?a=commitdiff;h=3ad2b101


  • application/pgp-signature attachment: stored
Received on Mon Jun 16 08:08:04 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.