Hi Panu et al,

I'm a bit confused about commit 9fb81eac. If dep is an
"Obsoletes" dependency, it uses RPMDBI_NAME instead of
RPMDBI_PROVIDENAME. It then still calls rpmdsMatchesDep().

Is that really correct? It seems to me that rpmdsMatchesDep()
always expects the "ix" argument to be an index into the
provides error, how can that work with a different db index?

Also, shouldn't it call rpmdsNVRMatchesDep() in the
obsoletes case instead of rpmdsMatchesDep() to be more
consistent with addObsoleteErasures()?

Cheers,
  Michael.

-- 
Michael Schroeder                                   m...@suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to