Bug 10818 - rpmvercmp does not compare version with epoch properly
: rpmvercmp does not compare version with epoch properly
Status: CLOSED NOTABUG
: Sisyphus
(All bugs in Sisyphus/rpm)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-02-10 14:25 by
Modified: 2007-02-12 11:40 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-02-10 14:25:36
rpmvercmp does not compare version with epoch properly:
[viy@hasher32 ~]$ rpm -q rpm
rpm-4.0.4-alt72
[viy@hasher32 ~]$ rpmvercmp  a2 a1
1
[viy@hasher32 ~]$ rpmvercmp  a2 0:a1
1
### should be -1
[viy@hasher32 ~]$ rpmvercmp  a2 3:a1
1
### should be 0
[viy@hasher32 ~]$ rpmvercmp  a2 0:a2
1
------- Comment #1 From 2007-02-10 14:29:32 -------
use rpmevrcmp
------- Comment #2 From 2007-02-12 11:37:43 -------
вопрос  отпал.
------- Comment #3 From 2007-02-12 11:40:57 -------
bug is closed