rpms/revisor/F-7 revisor.spec,1.7,1.8 sources,1.8,1.9

Josh Boyer jwboyer at jdub.homelinux.org
Thu Jun 28 17:08:35 UTC 2007


On Thu, 2007-06-28 at 19:04 +0200, Michael Schwendt wrote:
> On Thu, 28 Jun 2007 12:04:27 -0400, Jeroen van Meeuwen (kanarip) wrote:
> 
> > Author: kanarip
> > 
> > Update of /cvs/pkgs/rpms/revisor/F-7
> > In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10220/F-7
> > 
> > Modified Files:
> > 	revisor.spec sources 
> > Log Message:
> > 2.0.3.12-2
> 
> > -BuildArch: noarch
> > +BuildArch: noarch ppc ppc64
> 
> 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. 
> Apparently, you now want to hack the buildarch parameter and create
> multiple builds of the package: noarch with Requires livecd-tools, and
> arch-specific ppc/ppc64 without Requires livecd-tools.
> 
> 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). The only alternative with current RPM is
> to not build "noarch". Then you can get your ifarch/ifnarch to work.

As an aside, why doesn't livecd-tools work on ppc/ppc64?  Yaboot foo?

josh




More information about the fedora-devel-list mailing list