On Thu, 4 Apr 2013 13:01:36 +0200
Juerg Haefliger <jue...@gmail.com> wrote:

> On Thu, Apr 4, 2013 at 12:26 PM, Dan Horák <d...@danny.cz> wrote:
> 
> > On Thu, 4 Apr 2013 11:43:21 +0200
> > Juerg Haefliger <jue...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I have a noarch package that has a requirement on another package
> > > (qemu-img) that doesn't exist on i386 and ppc64. This results in
> > > 'broken dependency' errors from koji. How do I tell koji not to
> > > build on these arches?
> >
> > Is the problem in Fedora or in EPEL? Because qemu-img exists on all
> > arches in Fedora.
> >
> 
> It's an EPEL-only problem. The package just contains a bunch of
> scripts, some of which depend on qemu-img. Another possibility would
> be to exclude those scripts and the the dependency on qemu-img for
> i686. But then the content of the package would be different between
> arches.
> 
> Not sure if that's better though. Or make it an arch package for EPEL
> and noarch for Fedora?

add "ExclusiveArch: x86_64" when built in EPEL (%if 0%{?rhel} ...)


                Dan

> ...Juerg
> 
> 
> 
> 
> >                 Dan
> > --
> > devel mailing list
> > devel@lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/devel
> >
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to