RPM Community Forums

Mailing List Message of <rpm-devel>

Re: noarch sub-packages

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 16 Jun 2008 - 07:57:13 CEST
Message-id: <BC2AA320-09A0-4544-AD9D-A4907EF3E1E6@mac.com>

On Jun 16, 2008, at 1:48 AM, Alexey Tourbin wrote:

> On Mon, Jun 16, 2008 at 01:20:31AM -0400, Jeff Johnson wrote:
>> Certainly "they really work" (unless I missed pushing some patch to
>> rpm-5.1.3):
>
> It looks like you cannot specify "BuildArch: %_target_cpu" in toplevel
> package.


Ah, I have a reproducer for the flaw now, fixing todo++.

$ xxxrpm -bb test.spec
error: line 8: Only "noarch" sub-packages are supported:  
BuildArch:    i386
error: Package has no %description: test-0-0.i386

73 de Jeff
Received on Mon Jun 16 07:58:38 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.