----- "Pradeep Kilambi" <[email protected]> wrote: > Miroslav Suchy wrote: > > 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 > > ??? > > 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.
??? If he do yum upgrade, he will get both in latest version. If he do yum install yum-rhn-plugin he will get latest rhn-client-tools since yum-rhn-plugin: rhn-client-tools >= 0.4.19-9 And if he fore some reason will do: rpm -Uvh rhn-client-tools-0.4.25-1.rpm with some old yum-rhn-plugin, then he will get warning that this version conflict with yum-rhn-plugin < 0.5.3-30, so he will be forced to do rpm -Uvh rhn-client-tools-0.4.25-1.rpm yum-rhn-plugin-0.5.3-30.rpm But again, if there will be conflict and user use only yum and will not try to install package one by one, he will notice nothing. _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
