Subject: | Module::Build deletes my files |
Date: | Wed, 12 Sep 2012 13:49:56 +0400 |
To: | bug-Module-Build [...] rt.cpan.org |
From: | Victor Efimov <victor [...] vsespb.ru> |
perl Build.PL
./Build dist
Creating Net-Amazon-TreeHash-0.71
Can't copy('META.yml', 'Net-Amazon-TreeHash-0.71/META.yml'): No such file
or directory at /usr/local/share/perl/5.10.1/Module/Build/Base.pm line 5614.
it reports META.yml is missed, just after deleting it.
if I run then perl Build.PL
I am getting
WARNING: the following files are missing in your kit:
META.yml
Please inform the author.
If I restore file from backup - all repeats again.
META.yml:
---
abstract: 'Amazon Glacier TreeHash algorithm'
author:
- 'Victor Efimov'
configure_requires:
Module::Build: 0.36
generated_by: 'Module::Build version 0.3624'
license: Software::License::GPL_3
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Net-Amazon-TreeHash
provides:
Net::Amazon::TreeHash:
file: lib/Net/Amazon/TreeHash.pm
version: 0.71
requires:
Digest::SHA: 0
version: 0.71
Build.PL:
use strict;
use warnings;
use Module::Build;
use lib qw(lib);
my $build = Module::Build->new(
module_name => 'Net::Amazon::TreeHash',
author => 'Victor Efimov',
dist_author => 'Victor Efimov',
recursive_test_files=>1,
dist_abstract=>'Amazon Glacier TreeHash algorithm',
license => 'Software::License::GPL_3',
requires => {
'Digest::SHA' => 0,
}
);
$build->create_build_script();