Hdlist::Header::Changelogs - A set of changelogs
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"; }
Create a new changlelog set object from a rpm header.
Reset internal counter and prepare object for a first hasnext call.
Increase internal counter, return false if last entry has been reached.
Return the CHANGELOGNAME tag of current changelog entry.
Return the CHANGELOGTIME tag of current changelog entry.
Return the CHANGELOGTEXT tag of current changelog entry.
RPM4::Header
Hdlist
To install RPM4, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPM4
CPAN shell
perl -MCPAN -e shell install RPM4
For more information on module installation, please visit the detailed CPAN module installation guide.