Archive-RPM

 view release on metacpan or  search on metacpan

lib/Archive/RPM.pm  view on Meta::CPAN

# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
#############################################################################

package Archive::RPM;

use Moose;
use MooseX::MarkAsMethods autoclean => 1;
use MooseX::AttributeHelpers;
use MooseX::Types::Path::Class ':all';

use overload '""' => sub { shift->rpm->basename };

use English '-no_match_vars';
use File::Temp 'tempdir';
use Path::Class;
use RPM2 0.67;

lib/Archive/RPM/ChangeLogEntry.pm  view on Meta::CPAN

# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
#############################################################################

package Archive::RPM::ChangeLogEntry;

use Moose;
use MooseX::MarkAsMethods autoclean => 1;
use MooseX::Types::DateTimeX ':all';

use overload '""' => sub { shift->as_string };

use DateTime;

our $VERSION = '0.07';

has text => (is => 'ro', isa => 'Str', required => 1);
has time => (is => 'ro', isa => DateTime, coerce => 1, required => 1);



( run in 0.247 second using v1.01-cache-2.11-cpan-4d50c553e7e )