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
use rpmevrcmp
вопрос отпал.
bug is closed