Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
yum
> yum-3.2.6-epoch_workaround.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File yum-3.2.6-epoch_workaround.patch of Package yum
--- rpmUtils/miscutils.py +++ rpmUtils/miscutils.py @@ -43,6 +43,12 @@ e2 = str(e2) v2 = str(v2) r2 = str(r2) + + if e1 == "None": + e1 = "0" + if e2 == "None": + e2 = "0" + #print '%s, %s, %s vs %s, %s, %s' % (e1, v1, r1, e2, v2, r2) rc = rpm.labelCompare((e1, v1, r1), (e2, v2, r2)) #print '%s, %s, %s vs %s, %s, %s = %s' % (e1, v1, r1, e2, v2, r2, rc)