Commit | Line | Data |
---|---|---|
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 | ||
16 | package Dpkg::Control::Changelog; | |
17 | ||
18 | use strict; | |
19 | use warnings; | |
20 | ||
21 | our $VERSION = '1.00'; | |
22 | ||
23 | use Dpkg::Control; | |
24 | ||
25 | use parent qw(Dpkg::Control); | |
26 | ||
27 | =encoding utf8 | |
28 | ||
29 | =head1 NAME | |
30 | ||
31 | Dpkg::Control::Changelog - represent info fields output by dpkg-parsechangelog | |
32 | ||
33 | =head1 DESCRIPTION | |
34 | ||
35 | This object derives directly from Dpkg::Control with the type | |
36 | CTRL_CHANGELOG. | |
37 | ||
38 | =head1 METHODS | |
39 | ||
40 | =over 4 | |
41 | ||
42 | =item $c = Dpkg::Control::Changelog->new() | |
43 | ||
44 | Create a new empty set of changelog related fields. | |
45 | ||
46 | =cut | |
47 | ||
48 | sub 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 | ||
61 | Mark the module as public. | |
62 | ||
63 | =cut | |
64 | ||
65 | 1; |