On Thu, 2007-09-06 at 22:42 -0400, James Antill wrote:
> On Thu, 2007-09-06 at 20:48 -0400, seth vidal wrote:
> 
> > > 2. The second problem I have is that, I can't see how to create a
> > > correct multi-lib. requires ... the prco list of tuples doesn't contain
> > > it and yum doesn't seem to take it from the package with the requires
> > > so:
> > > 
> > >     def testInstallSinglePackageRequireNotProvidedMultiLib(self):
> > >         po = FakePackage('zsh', '1', '1', None, 'x86_64')
> > >         po.addRequires('zip', None, (None, None, None))
> > >         self.tsInfo.addInstall(po)
> > > 
> > >         ipo = FakePackage('zip', '1', '3', None, 'i386')
> > >         self.rpmdb.addPackage(ipo)
> > > 
> > >         # self.assertEquals('err', self.resolveCode(self.tsInfo, 
> > > self.rpmdb))
> > > 
> > > ...if the above assert is uncommented it fails. I'm sure I'm doing
> > > _something_ wrong here, but I can't see what.
> > 
> > what is a 'multilib requires' in this context? There's no way to specify
> > an arch in a requirement the only such thing is when a library is marked
> > as (64bit).
> > 
> > Is that what you mean? That's just a string.
> 
>  Right, I just assumed that given you can install foo.x86_64 you would
> also be able to depend on it. Oh well :).
> 

rpm currently provides no mechanism for depending on a specific arch.

-sv


_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to