Change in ovirt-host-deploy[master]: kdump: Fix version comparisons

Alon Bar-Lev alonbl at redhat.com
Fri Jun 27 09:28:34 UTC 2014


Alon Bar-Lev has submitted this change and it was merged.

Change subject: kdump: Fix version comparisons
......................................................................


kdump: Fix version comparisons

Use rpmUtils.miscutils.compareEVR for correct package version
comparisons.

This should work:
  '2.0.0-273.el6' < '2.0.0-273.1'
  '2.0.0-273.1.el6' >= '2.0.0-273.1'
  '2.0.0-274.el6' >= '2.0.0-273.1'

Change-Id: Ica14bd688c73a511ad8d7557231cff2e184830a9
Bug-Url: https://bugzilla.redhat.com/1079821
Signed-off-by: Martin Perina <mperina at redhat.com>
---
M src/plugins/ovirt-host-deploy/kdump/packages.py
1 file changed, 7 insertions(+), 6 deletions(-)

Approvals:
  Alon Bar-Lev: Looks good to me, approved
  Martin Peřina: Verified



-- 
To view, visit http://gerrit.ovirt.org/29317
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica14bd688c73a511ad8d7557231cff2e184830a9
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list