Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Perl-Version-1.17.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-Perl-Version Distribution: openSUSE Tumbleweed
Version: 1.17.0 Vendor: openSUSE
Release: 1.1 Build date: Fri Mar 22 17:35:15 2024
Group: Unspecified Build host: reproducible
Size: 87984 Source RPM: perl-Perl-Version-1.17.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Perl-Version
Summary: Parse and manipulate Perl version strings
Perl::Version provides a simple interface for parsing, manipulating and
formatting Perl version strings.

Unlike version.pm (which concentrates on parsing and comparing version
strings) Perl::Version is designed for cases where you'd like to parse a
version, modify it and get back the modified version formatted like the
original.

For example:

    my $version = Perl::Version->new( '1.2.3' );
    $version->inc_version;
    print "$version\n";

prints

    1.3.0

whereas

    my $version = Perl::Version->new( 'v1.02.03' );
    $version->inc_version;
    print "$version\n";

prints

    v1.03.00

Both are representations of the same version and they'd compare equal but
their formatting is different.

Perl::Version tries hard to guess and recreate the format of the original
version and in most cases it succeeds. In rare cases the formatting is
ambiguous. Consider

    1.10.03

Do you suppose that second component '10' is zero padded like the third
component? Perl::Version will assume that it is:

    my $version = Perl::Version->new( '1.10.03' );
    $version->inc_revision;
    print "$version\n";

will print

    2.00.00

If all of the components after the first are the same length (two
characters in this case) and any of them begins with a zero Perl::Version
will assume that they're all zero padded to the same length.

The first component and any alpha suffix are handled separately. In each
case if either of them starts with a zero they will be zero padded to the
same length when stringifying the version.

Provides

Requires

License

Artistic-2.0

Changelog

* Fri Mar 22 2024 Tina Müller <timueller+perl@suse.de>
  - updated to 1.017
    see /usr/share/doc/packages/perl-Perl-Version/Changes
    1.017 2024-03-09T01:36:13Z
    * fix encoding argment to read_line ("Odd number" warning), from
    Andreas Hadjiprocopis (#11)
* Fri Mar 08 2024 Tina Müller <tina.mueller@suse.com>
  - Fix disabling of __perllib_provides
* Sat Jan 06 2024 Tina Müller <timueller+perl@suse.de>
  - updated to 1.016
    see /usr/share/doc/packages/perl-Perl-Version/Changes
* Mon Mar 17 2014 coolo@suse.com
  - updated to 1.013
    Remove File::Slurp, which has a critical security issue (RT 92974)
* Mon May 16 2011 coolo@opensuse.org
  - updated to 1.011
* Fri Jan 14 2011 coolo@novell.com
  - initial package 1.010
    * created by cpanspec 1.78.03

Files

/usr/bin/perl-reversion
/usr/lib/perl5/vendor_perl/5.38.2/Perl
/usr/lib/perl5/vendor_perl/5.38.2/Perl/Version.pm
/usr/share/doc/packages/perl-Perl-Version
/usr/share/doc/packages/perl-Perl-Version/Changes
/usr/share/doc/packages/perl-Perl-Version/Notes.txt
/usr/share/doc/packages/perl-Perl-Version/examples
/usr/share/doc/packages/perl-Perl-Version/examples/perl-reversion
/usr/share/licenses/perl-Perl-Version
/usr/share/licenses/perl-Perl-Version/LICENSE
/usr/share/man/man1/perl-reversion.1.gz
/usr/share/man/man3/Perl::Version.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024