mirror of
https://tvoygit.ru/Djam/r11-builder-agent.git
synced 2025-02-23 10:22:45 +00:00
put distepoch in the right place
This commit is contained in:
parent
fe5e85fadd
commit
5f0ba6d71b
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ for pkg in files:
|
||||||
print(existing_pkg)
|
print(existing_pkg)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
res = rpm5utils.miscutils.compareEVRD((distepoch, epoch, version, release), (ex_distepoch, ex_epoch, ex_version, ex_release))
|
res = rpm5utils.miscutils.compareEVRD((epoch, version, release, distepoch), (ex_epoch, ex_version, ex_release, ex_distepoch))
|
||||||
|
print(res)
|
||||||
if res < 1:
|
if res < 1:
|
||||||
print(("A package with the same name (" + name + ") and same or newer version (" + evrd + ") already exists in repositories!"))
|
print(("A package with the same name (" + name + ") and same or newer version (" + evrd + ") already exists in repositories!"))
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue