From 4f7441ab41a6c29075b30fc06c1fc082976b24d1 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 10 Oct 2018 08:46:14 +0200 Subject: [PATCH] scancpan: remove run-time dependencies Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- utils/scancpan | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/scancpan b/utils/scancpan index 632e7aa95c..066882c08f 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -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}}, -- 2.30.2