DOKK / manpages / debian 11 / lintian / Lintian::Processable::Source::Format.3.en
Lintian::Processable::Source::Format(3) Debian Package Checker Lintian::Processable::Source::Format(3)

Lintian::Processable::Source::Format - Lintian interface to source format

    my $collect = Lintian::Processable::Source::Format->new;

Lintian::Processable::Source::Format provides an interface to source format information.

Returns true if the source package is native and false otherwise. This is generally determined from the source format, though in the 1.0 case the nativeness is determined by looking for the diff.gz (using the name of the source package and its version).

If the source format is 1.0 and the version number is absent, this will return false (as native packages are a lot rarer than non-native ones).

Note if the source format is missing, it is assumed to be a 1.0 package.

Originally written by Russ Allbery <rra@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian.

lintian(1), Lintian::Relation(3)

2020-11-27 Lintian v2.104.0