RPM::Util::Files 0.10 review

Download
by rbytes.net on

License: GPL (GNU General Public License)
File size: 5K
Developer: Toru Yamaguchi
0 stars award from rbytes.net

RPM::Util::Files is a Perl module to generate %files list in RPM Specfile.

SYNOPSIS

use RPM::Util::Files;

my $util = RPM::Util::Files->new({
build_root => '/var/tmp/some-package-version-root',
docs_filters => [
sub {
my $entry = shift;

return $entry =~ /manuals/;
}
],
config_filters => [
sub {
my $entry = shift;

return $entry =~ /.conf$/;
}
],
});

$util->make_files;
print $util->to_string;

Requirements:
Perl

RPM::Util::Files 0.10 search tags