Re: Manipulate Dev. release number properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2011 at 08:18:53PM +0800, Robin Lee wrote:
> We can use the v-string feature provided by Perl itself to normalize the
> version numbers of CPAN module rpms. We always convert the legacy decimal
> versions to normalized v-string, and use the v-string number as the rpm
> version, since v-string is friendly with rpm and also works within the Perl
> world.
> 
> We can get a normalized v-string like this:
> 
> Perl> require version;
> 1
> Perl> version->parse(1.94_56)->normal
> v1.945.600
> 
> So the rpm version of perl(CPAN) should be 1.945.600 , and the one of
> perl(Moose) should be 1.120 .
> 
I've alredy proposed something similar at
<https://fedoraproject.org/wiki/Perl/Tips#Dot_approach>, converting all
decimal digits to single-placed version components: 1.94_56Ââ 1.9.4.5.6.

Provided version module deals with it too and it's provided by Perl, I think
reusing Perl version tool is better.

> And we can even enhance rpmbuild, so when we deal with unstable CPAN
> modules, we can tell it to keep or discard the numbers after the underscore
> in specfiles. Or we can think out a more sophisticated guideline for
> versioning rpms of unstable CPAN modules.
>
My feeling of rpm maintainers is they want to do the stuff. I would like to
see Perl dependencies scanner in perl package, outside of rpm.

-- Petr

Attachment: pgpXo4p8jB2hw.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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux