scancpan: remove run-time dependencies
authorFrancois Perrad <fperrad@gmail.com>
Wed, 10 Oct 2018 06:46:14 +0000 (08:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 10 Oct 2018 07:06:09 +0000 (09:06 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scancpan

index 632e7aa95c6c1472c03f8b03fdc43d1211802e01..066882c08ffe27cd25f5f318be8a90c3f8287c53 100755 (executable)
@@ -717,8 +717,7 @@ while (my ($distname, $dist) = each %dist) {
         # the auth part is not used, because we use $(BR2_CPAN_MIRROR)
         my ($filename, $directories, $suffix) = fileparse( $path, q{tar.gz}, q{tgz} );
         $directories =~ s|/$||;
-        my @dependencies = ( map( { q{host-} . fsname( $_ ); } sort @{$deps_build{$distname}} ),
-                             map( { fsname( $_ ); } sort @{$deps_runtime{$distname}} ) );
+        my @dependencies = map( { q{host-} . fsname( $_ ); } sort @{$deps_build{$distname}} );
         my $dependencies = join qq{ \\\n\t}, @dependencies;
         $dependencies = qq{\\\n\t} . $dependencies if scalar @dependencies > 1;
         my @host_dependencies = map { q{host-} . fsname( $_ ); } sort( @{$deps_build{$distname}},