1Fedora::VSP(3)        User Contributed Perl Documentation       Fedora::VSP(3)
2
3
4

NAME

6       Fedora::VSP - Perl version normalization for RPM
7

DESCRIPTION

9       This module provides functions for normalizing Perl version strings for
10       Red Hat Package (RPM) based Linux distributions.
11
12       RPM version format and semantics is similar to Perl version strings
13       (vX.Y.Z).  But to exactly. Older Perl's fraction version format (X.YZ)
14       is incompatible with RPM.
15
16       This is an effort to map Perl version strings to RPM version strings.
17

FUNCTIONS

19   vsp(STRING, SHORT)
20       Convert a version value into version string format. The output value is
21       stripped from the leading "v" symbol.
22
23       If conversion fails, "undef" will be returned.
24
25       Empty or undefined string will be normalized to "undef".
26
27       If SHORT is true, the returned version string will be shortened by
28       cutting trailing zero groups. If no digit would remain, "undef" will be
29       returned.  This feature ephases brevity.
30

AUTHOR

32       Petr Písař <ppisar@redhat.com>
33

COPYING

35       Copyright (C) 2015  Petr Písař <ppisar@redhat.com>
36
37       This program is free software: you can redistribute it and/or modify it
38       under the terms of the GNU General Public License as published by the
39       Free Software Foundation, either version 3 of the License, or (at your
40       option) any later version.
41
42       This program is distributed in the hope that it will be useful, but
43       WITHOUT ANY WARRANTY; without even the implied warranty of
44       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
45       General Public License for more details.
46
47       You should have received a copy of the GNU General Public License along
48       with this program.  If not, see <http://www.gnu.org/licenses/>.
49
50
51
52perl v5.32.0                      2020-07-28                    Fedora::VSP(3)
Impressum