Re: Prevent package builds on certain architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 4 Apr 2013 13:01:36 +0200
Juerg Haefliger <juergh@xxxxxxxxx> wrote:

> On Thu, Apr 4, 2013 at 12:26 PM, Dan Horák <dan@xxxxxxxx> wrote:
> 
> > On Thu, 4 Apr 2013 11:43:21 +0200
> > Juerg Haefliger <juergh@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> > https://admin.fedoraproject.org/mailman/listinfo/devel
> >
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux