On Fri, Dec 30, 2016 at 12:09:24AM +0000, Richard W.M. Jones wrote:
> On Mon, Dec 26, 2016 at 09:59:54AM +0100, Michael Schwendt wrote:
> > On Sun, 25 Dec 2016 21:33:52 -0500, David Muse wrote:
> > 
> > > I guess noarch packages shouldn't have any arch-specific dependencies. 
> > > Is that correct?
> > 
> > Yes.
> 
> Umm really?  Can you explain exactly what's wrong with this?
> 
> I think the answer should be _no_ (ie. it's fine for noarch packages
> to have arch-ful Requires).  Of course the dependencies must be
> available otherwise the noarch package cannot be installed.

OK, maybe you're talking about having %{_isa} in the spec file, ie:

  %package doc
  ...
  BuildArch: noarch
  Requires: %{name}%{?_isa} = %{version}-%{release}

?  That would make the dependency include "(x86-64)" (or whatever
arch the noarch package built on) and that would be wrong.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to