[perl-Module-Starter] Document the default license is artistic2

Petr Pisar ppisar at fedoraproject.org
Tue Oct 14 11:46:44 UTC 2014


commit ecf5d75f9d7cd420480a491350b76d58593d31b6
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Oct 14 13:41:43 2014 +0200

    Document the default license is artistic2

 ...ter-1.62-doc-Default-license-is-artistic2.patch |   32 ++++++++++++++++++++
 perl-Module-Starter.spec                           |    5 +++
 2 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/Module-Starter-1.62-doc-Default-license-is-artistic2.patch b/Module-Starter-1.62-doc-Default-license-is-artistic2.patch
new file mode 100644
index 0000000..8940433
--- /dev/null
+++ b/Module-Starter-1.62-doc-Default-license-is-artistic2.patch
@@ -0,0 +1,32 @@
+From cdd8c8dab049210af88b2d122cf48dd3bd210a98 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Tue, 14 Oct 2014 13:33:48 +0200
+Subject: [PATCH] doc: Default license is 'artistic2'
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+<https://rt.cpan.org/Public/Bug/Display.html?id=86557>
+<https://github.com/xsawyerx/module-starter/issues/1>
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ lib/Module/Starter.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/Module/Starter.pm b/lib/Module/Starter.pm
+index 5d87ad6..39eca2e 100644
+--- a/lib/Module/Starter.pm
++++ b/lib/Module/Starter.pm
+@@ -53,7 +53,7 @@ It takes a hash of params, as follows:
+                                       # or specify more than one builder in an
+                                       # arrayref
+ 
+-    license      => $license,  # type of license; defaults to 'perl'
++    license      => $license,  # type of license; defaults to 'artistic2'
+     author       => $author,   # author's full name (taken from C<getpwuid> if not provided)
+     email        => $email,    # author's email address (taken from C<EMAIL> if not provided)
+     ignores_type => $type,     # ignores file type ('generic', 'cvs', 'git', 'manifest' )
+-- 
+1.9.3
+
diff --git a/perl-Module-Starter.spec b/perl-Module-Starter.spec
index 7f0db43..c28cab6 100644
--- a/perl-Module-Starter.spec
+++ b/perl-Module-Starter.spec
@@ -13,6 +13,9 @@ Patch0:         Module-Starter-1.62-Edit-License-slnames-to-match-CPAN-Meta-Spec
 # Produce valid license identifiers, bug #1152319,
 # <https://github.com/xsawyerx/module-starter/pull/21>, accepted after 1.62
 Patch1:         Module-Starter-1.62-Update-license-types-for-the-non-standard-licenses-C.patch
+# Document the default license is artistic2, CPAN RT#86557,
+# <https://github.com/xsawyerx/module-starter/issues/1>
+Patch2:         Module-Starter-1.62-doc-Default-license-is-artistic2.patch
 
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -59,6 +62,7 @@ perl-Module-Starter-PBP for the aforementioned templates.)
 %setup -q -n Module-Starter-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -82,6 +86,7 @@ make test
 %changelog
 * Tue Oct 14 2014 Petr Pisar <ppisar at redhat.com> - 1:1.62-4
 - Produce valid license identifiers (bug #1152319)
+- Document the default license is artistic2
 
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1:1.62-3
 - Perl 5.20 rebuild


More information about the scm-commits mailing list