NAME
Hdlist::Header::Changelogs - A set of changelogs
SYNOPSIS
use RPM4::Header;
my $header RPM4::Header->new("foo.rpm");
my $changelog = RPM4::Header::Changelog->new($header);
$changelog->init; # not need here
while ($changelog->hasnext) {
print "* ", $changelog->name, "\n";
print $changelog->text, "\n";
}
METHODS
new(header)
Create a new changlelog set object from a rpm header.
init
Reset internal counter and prepare object for a first hasnext call.
hasnext
Increase internal counter, return false if last entry has been reached.
name
Return the CHANGELOGNAME tag of current changelog entry.
time
Return the CHANGELOGTIME tag of current changelog entry.
text
Return the CHANGELOGTEXT tag of current changelog entry.