SOURCES: pldcpan.pl - avoid perl(perl) requires

radek radek at pld-linux.org
Sat Nov 10 23:14:25 CET 2007


Author: radek                        Date: Sat Nov 10 22:14:25 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- avoid perl(perl) requires

---- Files affected:
SOURCES:
   pldcpan.pl (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SOURCES/pldcpan.pl
diff -u SOURCES/pldcpan.pl:1.48 SOURCES/pldcpan.pl:1.49
--- SOURCES/pldcpan.pl:1.48	Sat Nov 10 22:50:59 2007
+++ SOURCES/pldcpan.pl	Sat Nov 10 23:14:19 2007
@@ -187,6 +187,9 @@
 
 	return if ref($info->{META_yml}->{$key}) ne 'HASH';
 
+	# avoid perl(perl) >= 5.6... requires
+	delete $info->{META_yml}->{$key}->{perl};
+
 	while (my ($module, $version) = each %{ $info->{META_yml}->{$key} }) {
 		my $result;
 		print "Checking dependency: $module $version\n" if $opts{verbose};
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pldcpan.pl?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list