RPM::Util::Files 0.10 review
Download
|
|
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