[Buildroot] [git commit] scripts/scancpan: use SPDX short identifier for license

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Apr 1 13:35:14 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=e261d807f3fb20fac23f87ae338df1717688fa9b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Rahul Bedarkar <rahulbedarkar89 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 support/scripts/scancpan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/scripts/scancpan b/support/scripts/scancpan
index b6123de..8d44ed9 100755
--- a/support/scripts/scancpan
+++ b/support/scripts/scancpan
@@ -688,7 +688,7 @@ while (my ($distname, $dist) = each %dist) {
         $license =~ s|artistic_2|Artistic-2.0|;
         $license =~ s|mit|MIT|;
         $license =~ s|openssl|OpenSSL|;
-        $license =~ s|perl_5|Artistic or GPLv1+|;
+        $license =~ s|perl_5|Artistic or GPL-1.0+|;
         my $license_files = join q{ }, @{$license_files{$distname}};
         say qq{write ${mkname}} unless $quiet;
         open my $fh, q{>}, $mkname;


More information about the buildroot mailing list