Skip to contentSkip to conversation

support/script/scancpan: more license name ajustment

PATCH New Francois Perrad 2 participants 2 messages Jul 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/script/scancpan: more license name ajustment

---
 support/scripts/scancpan | 3 +++
 1 file changed, 3 insertions(+)
support/scripts/scancpan +3 -0
index de11ef1..50d9bab 100755
@@ -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}};
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 support/script/scancpan: more license name ajustment

Dear Francois Perrad,

Quoted 4 lines · Francois Perrad
---
 support/scripts/scancpan | 3 +++
 1 file changed, 3 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com