All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] support/script/scancpan: more license name ajustment
@ 2014-07-24 20:31 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2014-07-24 20:31 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=827ba10035e1cc3e07af058fc0ea433c2766aed8
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 support/scripts/scancpan |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/support/scripts/scancpan b/support/scripts/scancpan
index de11ef1..50d9bab 100755
--- a/support/scripts/scancpan
+++ b/support/scripts/scancpan
@@ -645,7 +645,10 @@ while (my ($distname, $dist) = each %dist) {
         my $license = ref $dist->{license} eq 'ARRAY'
                     ? join q{ or }, @{$dist->{license}}
                     : $dist->{license};
+        # BR requires license name as in http://spdx.org/licenses/
+        $license =~ s|apache_2_0|Apache-2.0|;
         $license =~ s|artistic_2|Artistic-2.0|;
+        $license =~ s|mit|MIT|;
         $license =~ s|openssl|OpenSSL|;
         $license =~ s|perl_5|Artistic or GPLv1+|;
         my $license_files = join q{ }, @{$license_files{$distname}};

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-24 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24 20:31 [Buildroot] [git commit] support/script/scancpan: more license name ajustment Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.