File cpanspec-1.78.06-spdx.patch of Package cpanspec
Index: cpanspec-1.78.06/cpanspec
===================================================================
--- cpanspec-1.78.06.orig/cpanspec 2011-12-02 14:13:34.000000000 +0100
+++ cpanspec-1.78.06/cpanspec 2011-12-05 16:18:55.010868360 +0100
@@ -1013,7 +1013,7 @@
get_license($content);
if ($license && ($license =~ /under the same terms as Perl itself/ ||
$license =~ /under the terms of the Perl artistic license/)) {
- $license = "GPL+ or Artistic";
+ $license = "GPL-1.0+ or Artistic-1.0";
}
}
@@ -1021,7 +1021,7 @@
$summary="$module Perl module";
}
- $license="CHECK(GPL+ or Artistic)" if (!$license);
+ $license="CHECK(GPL-1.0+ or Artistic-1.0)" if (!$license);
$description=$summary if (!defined($description));