The mdk tag is not supported by rpm, and will give problems when
. release versions are released.
 
[root@tlb nextgen]# rpm -Uvh
/usr/src/RPM/RPMS/i686/fake-1-1.1mdk.i686.rpm
fake                       
##################################################
[root@tlb nextgen]# rpm -Uvh /usr/src/RPM/RPMS/i686/fake-1-1mdk.i686.rpm
fake                       
##################################################
 
It can also be check by using:
use rpmtools;
 
$result1 = rpmtools::version_compare("1mdk", "1.1mdk");
$result2 = rpmtools::version_compare("1.1mdk", "1mdk");
 
print "$result1 $result2\n";
 
The result should not be the same, but it is.
 
This should not be posible, but it is, the problem with rpm is that it
only checks
the the first version in the compare, this problem is even worse is
urpmi where the
new version some times won't show up, because urpmi think the 1mdk
version is newer.
I have make som perl that does this the right way, even if rpm don't
know how to, it sould
help to fix some of the problems you are having now. Write me if you
wan't it.

You can read about the bug in Redhats bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=50977
 
The best thing is not to use [0-9] in conjunction with [a-Z], since it's
not supported
and won't be for the next release.
 
Regards
Troels Liebe Bentsen.

Reply via email to