https://bugzilla.novell.com/show_bug.cgi?id=255018 Summary: /usr/lib/rpm/perl.prov is broken by design (true story) Product: openSUSE 10.2 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: opensuse@augensalat.de QAContact: qa@suse.de /usr/lib/rpm/perl.prov is completely broken, because it reports Perl version numbers unchanged to RPM, even though Perl and RPM treat version numbers differently: Perl treats the form 0.01 as a float whereas RPM thinks of it as "a 0 and a 1". Please see http://search.cpan.org/dist/version/lib/version.pod and http://fedoraproject.org/wiki/Tools/RPM/VersionComparison This means that in Perl 0.10 < 0.101 < 0.11 is true while in RPM the same is false, because RPM regards it as 10 < 101 < 11 To work correctly /usr/lib/rpm/perl.prov must use (the logic of) version.pm (see doc link above) and create version numbers with method normal() of this package: $rpm_module_version = version->new($perl_module_version)->normal; examples: version->new("0.10")->normal -> "v0.100.0" version->new("0.101")->normal -> "v0.101.0" version->new("0.11")->normal -> "v0.110.0" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.