diff options
author | Jérôme Quelin <jquelin@mandriva.org> | 2010-02-10 11:00:09 +0000 |
---|---|---|
committer | Jérôme Quelin <jquelin@mandriva.org> | 2010-02-10 11:00:09 +0000 |
commit | 96e402eff8be72bb817aaba1424f07b86dd76b76 (patch) | |
tree | 947119554b73725e23ef08d76b6c2e42f9865410 /perl.req-from-meta | |
parent | 81eb1555dfe9382d89f6636cf40735ef2f7ccda1 (diff) | |
download | rpm-setup-96e402eff8be72bb817aaba1424f07b86dd76b76.tar rpm-setup-96e402eff8be72bb817aaba1424f07b86dd76b76.tar.gz rpm-setup-96e402eff8be72bb817aaba1424f07b86dd76b76.tar.bz2 rpm-setup-96e402eff8be72bb817aaba1424f07b86dd76b76.tar.xz rpm-setup-96e402eff8be72bb817aaba1424f07b86dd76b76.zip |
adding documentation
Diffstat (limited to 'perl.req-from-meta')
-rwxr-xr-x | perl.req-from-meta | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/perl.req-from-meta b/perl.req-from-meta index fdc149d..5b612dd 100755 --- a/perl.req-from-meta +++ b/perl.req-from-meta @@ -31,3 +31,24 @@ foreach my $module ( sort keys %$requires ) { } exit; + +=head1 NAME + +perl.req-from-meta - extract requires from meta file + +=head1 SYNOPSIS + + $ perl.req-from-meta /path/to/META.yml + $ perl.req-from-meta /path/to/META.json + +=head1 DESCRIPTION + +This script will extract Perl requirements from the distribution meta +file. For each such requires, it'll convert the minimum version to +follow mandriva perl versioning (using C<%perl_convert_version>), and +print them as: + + perl(Foo::Bar) + perl(App::Frobnizer) >= 1.23.456 + +Minimum perl version are skipped. |