Config::Model::Dpkg::Control::Source::StandardVersion(3pm)

Config::Model::Dpkg::Control::Source::StandardVersion3pm

Standard-version model

Usage

 Internal use for DPkg model

Overview

This class is derived from Config::Model::Value. Its purpose is to provide a default value for "Standard-Version" parameter using Lintian library.

Methods

compare_with_last_version

Compare passed version with the latest version of "Standards-Version". This last version is retrieved from "lintian" package. The comparison is done with Sort::Versions.

This methods return -1, 0 or 1 depending if the passed version is older, equal or newer than latest version of "Standards-Version"

Example:

 $self->compare_with_last_version('3.9.1'); # returns -1

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

Dominique Dumont, ddumont [AT] cpan [DOT] org

From libconfig-model-dpkg-perl 3.014 in Debian 13 (Trixie). Parsed by carta from the page's man source.