[libsoftware-license-perl] 04/09: added patch to associate Expat license with MIT
dod at debian.org
dod at debian.org
Tue Sep 23 11:57:06 UTC 2014
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libsoftware-license-perl.
commit 14613351b5f8a42e0fe80a89d0e9bc37a30adaa2
Author: Dominique Dumont <dod at debian.org>
Date: Sat Sep 20 10:29:02 2014 +0200
added patch to associate Expat license with MIT
---
debian/patches/add-expat-short-name | 10 ++++++++++
debian/patches/series | 1 +
debian/patches/short-name-fallback | 4 ++--
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/patches/add-expat-short-name b/debian/patches/add-expat-short-name
new file mode 100644
index 0000000..947eee5
--- /dev/null
+++ b/debian/patches/add-expat-short-name
@@ -0,0 +1,10 @@
+--- a/lib/Software/LicenseUtils.pm
++++ b/lib/Software/LicenseUtils.pm
+@@ -173,6 +173,7 @@
+ }
+
+ my %short_name = (
++ 'Expat' => 'Software::License::MIT',
+ 'GPL-1' => 'Software::License::GPL_1',
+ 'GPL-2' => 'Software::License::GPL_2',
+ 'GPL-3' => 'Software::License::GPL_3',
diff --git a/debian/patches/series b/debian/patches/series
index 9a31955..eb0a317 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,4 +10,5 @@ lgpl-2-summary
summary_test
add_or_later_clause
backward-compat
+add-expat-short-name
short-name-fallback
diff --git a/debian/patches/short-name-fallback b/debian/patches/short-name-fallback
index 817cfcf..528be7c 100644
--- a/debian/patches/short-name-fallback
+++ b/debian/patches/short-name-fallback
@@ -1,6 +1,6 @@
--- a/lib/Software/LicenseUtils.pm
+++ b/lib/Software/LicenseUtils.pm
-@@ -211,14 +211,13 @@
+@@ -212,14 +212,13 @@
Carp::croak "no license short name specified"
unless defined $arg->{short_name};
my $short = delete $arg->{short_name};
@@ -18,7 +18,7 @@
return $lic_class->new( { %$arg, @infos } );
}
-@@ -288,4 +287,4 @@
+@@ -289,4 +288,4 @@
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsoftware-license-perl.git
More information about the Pkg-perl-cvs-commits
mailing list