Lintian::Debian::Control(3)

Lintian::Debian::Control3

Lintian interface to d/control fields

Usage

    use Lintian::Debian::Control;

Overview

Lintian::Debian::Control provides access to fields in d/control.

Instance methods

item =item source_fields =item installable_fields_by_name
load
installables

Returns a list of the binary and udeb packages listed in the debian/control.

installable_package_type (NAME)

Returns package type based on value of the Package-Type (or if absent, X-Package-Type) field. If the field is omitted, the default value "deb" is used.

If NAME is not an installable listed in the source packages debian/control file, this method return "undef".

installable_fields (PACKAGE)

Returns the Deb822::Section object for the installable. Returns an empty object if the installable does not exist.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Originally written by Russ Allbery <[email protected]> for Lintian. Amended by Felix Lechner <[email protected]> for Lintian.

From lintian 2.122.0 in Debian 13 (Trixie). Parsed by carta from the page's man source.