Jan Pazdziora wrote:
On Thu, May 14, 2009 at 10:50:11AM -0400, Pradeep Kilambi wrote:
cdn support. If you use yum-rhn-plugin < 0.5.3-30 with latest version
of rhn-client tools it will break the multiarch support. If you use
latest yum-rhn-plugin with older rhn-client-tools it will break cdn and versioning thats being sent across.
Aha, so it is not requires, but rather conflicts with older versions. So should be more correct to put inside rhn-client-tools.spec instead of:
  Requires: yum-rhn-plugin >= 0.5.3-30
this line:
  Conflicts: yum-rhn-plugin < 0.5.3-30
???

I'm not sure about yum-rhn-plugin.spec since I did not check its code and dunno 
if there should be conflict as well or if the code is really required.
Its not a conflict. We should force users using latest yum-rhnplugin to get newer rhn-client-tools and vice-versa. So requires as we have should do it.

Prad,

if the user does have yum-rhnplugin but not rhn-client-tools, will
yum-rhnplugin work? If it won't then it's Requires case. If it will
work without rhn-client-tools or with new rhn-client-tools but not
with old rhn-client-tools, it's Conflicts.

And vice versa -- for does rhn-client-tools need yum-rhnplugin to
work?


yes, without yum-rhn-plugin, rhn_check(part of rhn-client-tools) will not be able to process actions picked up and pass it to yum. Similarly without rhn-client-tools, yum-rhn-plugin will not be able to authenticate to rhn, as rhn-client-tools is what provides the authentication layer. There are also other cases where, the versioning is enforced in the http headers through clientCaps in rhn-client-tools to get the access to various capabilities such as arch info from the supported server. But this arch info can only be processed by the latest yum-rhn-plugin which has the arch capability fixes and which depends on the new rebased yum in 5.3. And hence a Requires case in my opinion.

~ Prad

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to