On Wed, Feb 23, 2011 at 10:21:50AM +0800, Robin 'cheese' Lee wrote: > RPM doen't generate proper version numbers for Dev. releases of modules. For > example, perl(CPAN) of f14 is actually 1.94_56 which just means 1.9456. But > the version generated by RPM is 1.94, much smaller than the actual version. > So I hope RPM can manipulate the underscores in version numbers properly. > Thank you for notifying. Problem with development versions is upstream developers usually do not preserve monothony, i.e. they release stable 1.93, development 1.94_1, and then stable 1.94 which they consider being successor of 1.94_1. Thus we remove the underscore extension from RPM version and Provides string. This is not case of CPAN module, it belongs to the minority of modules versioned correctly. I guess we should abandone the current practice in Fedora and force upstream to version correctly. Unfortunatelly the only codification know to me is perlmodstyle POD. If you know about stronger argumentation, show it to us. Upstream is usually very stubborn. However current perl-CPAN-1.9402 RPM is a mess: RPM Perl code ----------------------------------------------------------------------------- cpan = 1.9402 perl(CPAN::Distribution) = 1.9456 # $VERSION = "1.9456_01"; perl(CPAN::Index) = 1.94 # $VERSION = "1.94"; perl(CPAN::LWP::UserAgent) = 1.94 # $CPAN::LWP::UserAgent::VERSION = "1.94"; perl-CPAN = 0:1.9402-141.fc14 perl(CPAN) = 1.94 # $CPAN::VERSION = '1.94_56'; # $CPAN::VERSION =~ s/_//; We must fix it. -- Petr
Attachment:
pgp8xWoAPI7x8.pgp
Description: PGP signature
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel