Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
JSON representation | |
---|---|
{
"epoch": number,
"name": string,
"revision": string,
"kind": enum ( |
Fields | |
---|---|
epoch |
Used to correct mistakes in the version numbering scheme. |
name |
The main part of the version name. |
revision |
The iteration of the package build from the above version. |
kind |
Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored. |
VersionKind
Whether this is an ordinary package version or a sentinel MIN/MAX version.
Enums | |
---|---|
NORMAL |
A standard package version, defined by the other fields. |
MINIMUM |
A special version representing negative infinity, other fields are ignored. |
MAXIMUM |
A special version representing positive infinity, other fields are ignored. |