Subject: | Version comparison doesn't handle x.y.z versions |
I tried to make a package of IPC::System::Simple from CPAN:
% cpanflute2 IPC-System-Simple-0.10.tar.gz
but I got the warning:
Argument "5.6.0" isn't numeric in numeric ne (!=) at
/usr/lib/perl5/vendor_perl/5.10.0/RPM/Specfile.pm line 143.
The source package is written, but the warning presumably shows that
cpanflute2 doesn't handle three-part version numbers correctly. It
should use Sort::Versions or something similar.
This is perl, v5.10.0 built for i386-linux-thread-multi