dpkg (1.18.25) stretch; urgency=medium
[dpkg] / scripts / Dpkg / Control / Changelog.pm
CommitLineData
1479465f
GJ
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
18use strict;
19use warnings;
20
21our $VERSION = '1.00';
22
23use Dpkg::Control;
24
25use parent qw(Dpkg::Control);
26
27=encoding utf8
28
29=head1 NAME
30
31Dpkg::Control::Changelog - represent info fields output by dpkg-parsechangelog
32
33=head1 DESCRIPTION
34
35This object derives directly from Dpkg::Control with the type
36CTRL_CHANGELOG.
37
38=head1 METHODS
39
40=over 4
41
42=item $c = Dpkg::Control::Changelog->new()
43
44Create a new empty set of changelog related fields.
45
46=cut
47
48sub new {
49 my $this = shift;
50 my $class = ref($this) || $this;
51 my $self = Dpkg::Control->new(type => CTRL_CHANGELOG, @_);
52 return bless $self, $class;
53}
54
55=back
56
57=head1 CHANGES
58
59=head2 Version 1.00 (dpkg 1.15.6)
60
61Mark the module as public.
62
63=cut
64
651;