| OLD | NEW |
| (Empty) |
| 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 use parent qw(Dpkg::Control); | |
| 25 | |
| 26 =encoding utf8 | |
| 27 | |
| 28 =head1 NAME | |
| 29 | |
| 30 Dpkg::Control::Changelog - represent info fields output by dpkg-parsechangelog | |
| 31 | |
| 32 =head1 DESCRIPTION | |
| 33 | |
| 34 This object derives directly from Dpkg::Control with the type | |
| 35 CTRL_CHANGELOG. | |
| 36 | |
| 37 =head1 FUNCTIONS | |
| 38 | |
| 39 =over 4 | |
| 40 | |
| 41 =item $c = Dpkg::Control::Changelog->new() | |
| 42 | |
| 43 Create a new empty set of changelog related fields. | |
| 44 | |
| 45 =cut | |
| 46 | |
| 47 sub new { | |
| 48 my $this = shift; | |
| 49 my $class = ref($this) || $this; | |
| 50 my $self = Dpkg::Control->new(type => CTRL_CHANGELOG, @_); | |
| 51 return bless $self, $class; | |
| 52 } | |
| 53 | |
| 54 =back | |
| 55 | |
| 56 =head1 AUTHOR | |
| 57 | |
| 58 Raphaël Hertzog <hertzog@debian.org>. | |
| 59 | |
| 60 =cut | |
| 61 | |
| 62 1; | |
| OLD | NEW |