Skip Menu |

This queue is for tickets about the RPM-Specfile CPAN distribution.

Report information
The Basics
Id: 36366
Status: new
Priority: 0/
Queue: RPM-Specfile

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.51
Fixed in: (no value)



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