man: Add dpkg-build-api behavior for Rules-Requires-Root field defaults
[dpkg.git] / scripts / Dpkg / Control / Changelog.pm
blob0d382ae461184687d60db83161acd2fff75633d7
1 # Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
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.
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.
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/>.
16 =encoding utf8
18 =head1 NAME
20 Dpkg::Control::Changelog - represent info fields output by dpkg-parsechangelog
22 =head1 DESCRIPTION
24 This class derives directly from L<Dpkg::Control> with the type
25 CTRL_CHANGELOG.
27 =cut
29 package Dpkg::Control::Changelog 1.00;
31 use strict;
32 use warnings;
34 use Dpkg::Control;
36 use parent qw(Dpkg::Control);
38 =head1 METHODS
40 =over 4
42 =item $c = Dpkg::Control::Changelog->new()
44 Create a new empty set of changelog related fields.
46 =cut
48 sub new {
49 my ($this, @args) = @_;
50 my $class = ref($this) || $this;
51 my $self = Dpkg::Control->new(type => CTRL_CHANGELOG, @args);
52 return bless $self, $class;
55 =back
57 =head1 CHANGES
59 =head2 Version 1.00 (dpkg 1.15.6)
61 Mark the module as public.
63 =cut