Red Hat Bugzilla – Bug 810439
Should check the latest rhc-rest while installing or updating rhc client even if already having an old version.
Last modified: 2015-05-14 21:50:21 EDT
Description of problem:
If we already have rhc-rest installed (maybe an old version), if trying to install or update rhc client, it will only update rhc-client, but not trying to check if there's update for rhc-rest, which means we need to update rhc-rest manually.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Yum remove rhc (if you have installed)
2. Install an old version of rhc-rest: rpm -ivh rhc-rest-0.0.7-1.git.0.6ec063c.el6_2.noarch.rpm (you need to download the package firstly)
3. Yum install rhc
It will only update rhc, but not udpate rhc-rest even if there's an update for rhc-rest which is rhc-rest-0.0.8-1.el6_2.noarch.rpm.
rhc-rest should be updated as well if there's update version for it since some of our client bugs are fixed in rhc-rest.
Added explicit requires version to client.spec. Right now this needs to be manually updated every time rhc-rest is updated, but may be able to be automated.
Move it to ON_QA since we get the build
Verify it on rhc-0.90.5-1.el6_2.noarch
rhc-rest-0.0.11-1.el6_2.noarch, it will try to find the latest rhc while upgrading rhc
We need to update the tooling so rhc always deps on whatever the latest version of rhc-rest is at built time. Otherwise we'll never remember to keep these two in sync all the time. (alternatively we could start bundling rhc-rest inside rhc)
This is no longer a problem since rhc-rest was incorporated into the rhc gem/rpm directly. Closing this bug.