On Thu, 28 Jun 2007 13:14:16 -0400, Jesse Keating wrote:
On Thursday 28 June 2007 13:04:09 Michael Schwendt wrote:
> You seem to be confused about why your "%ifnarch" usage in the spec
> doesn't work. It is because you build "noarch", where the arch
doesn't
> matter. It is an arch-independent build. Unless the compose tool is
> broken, it would still ship the noarch build for ppc/ppc64.
>
<snip>
>
> This is something that has been a topic before. A "noarch" package
> which depends on arch-specific packages, which are not available for
> all arches, cannot really be noarch or should use ExcludeArch properly
> (which is another ugly hack).
Just to clarify, the (F7+ at least, not sure about Extras) compose tools do
honor Exclude/ExclusiveArch on noarch packages.
Extras supports ExcludeArch for noarch src.rpms, too, but that's not the topic
here. Re-read the quote. The spec does
BuildArch: noarch ppc ppc64
without ExcludeArch. That would publish the noarch build for ppc/ppc64, too,
wouldn't it?