File Coverage

File:Dpkg/Control/Changelog.pm
Coverage:92.0%

linestmtbrancondsubpodtimecode
1# Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# GNU General Public License for more details.
12
13# You should have received a copy of the GNU General Public License
14# along with this program.  If not, see <https://www.gnu.org/licenses/>.
15
16package Dpkg::Control::Changelog;
17
18
6
6
6
13
3
72
use strict;
19
6
6
6
11
3
119
use warnings;
20
21our $VERSION = '1.00';
22
23
6
6
6
12
1
192
use Dpkg::Control;
24
25
6
6
6
10
3
9
use parent qw(Dpkg::Control);
26
27=encoding utf8
28
29 - 46
=head1 NAME

Dpkg::Control::Changelog - represent info fields output by dpkg-parsechangelog

=head1 DESCRIPTION

This class derives directly from Dpkg::Control with the type
CTRL_CHANGELOG.

=head1 METHODS

=over 4

=item $c = Dpkg::Control::Changelog->new()

Create a new empty set of changelog related fields.

=cut
47
48sub new {
49
819
1
475
    my $this = shift;
50
819
1141
    my $class = ref($this) || $this;
51
819
832
    my $self = Dpkg::Control->new(type => CTRL_CHANGELOG, @_);
52
819
741
    return bless $self, $class;
53}
54
55=back
56
57 - 63
=head1 CHANGES

=head2 Version 1.00 (dpkg 1.15.6)

Mark the module as public.

=cut
64
651;