Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28647
Modified Files:
Base.pm
Log Message:
Add this check back in with the proper condition, since the META.yml
spec we're trying to adhere to actually does require these fields.
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.507
retrieving revision 1.508
diff -u -d -r1.507 -r1.508
--- Base.pm 24 Oct 2005 02:58:07 -0000 1.507
+++ Base.pm 24 Oct 2005 15:45:19 -0000 1.508
@@ -2834,6 +2834,7 @@
foreach (qw(dist_name dist_version dist_author dist_abstract license)) {
(my $name = $_) =~ s/^dist_//;
$node->{$name} = $self->$_();
+ die "Missing required field '$name' for META.yml\n" unless length($node->{name});
}
if (defined( $self->license ) &&
defined( my $url = $self->valid_licenses->{ $self->license } )) {
|