[licensecheck] 15/26: Rename License::Parts patterns sw_copr → cp_sw_copr and sw_doc → cp_sw_doc.

Jonas Smedegaard dr at jones.dk
Sun Feb 5 10:12:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository licensecheck.

commit 9cd6617529959a9f6b51a7fecc78c535d060ad7f
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jan 21 20:39:56 2017 +0100

    Rename License::Parts patterns sw_copr → cp_sw_copr and sw_doc → cp_sw_doc.
---
 lib/Regexp/Pattern/License.pm       | 4 ++--
 lib/Regexp/Pattern/License/Parts.pm | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index 69ac270..d437514 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -486,14 +486,14 @@ our %RE = (
 		tags    => ['mit'],
 		pat     => qr/$P{ack_pub_use_nosrc}/,
 		pat =>
-			qr/$P{perm_granted}, $P{free_charge}, $P{to_pers} $P{the_sw}, $P{to_deal_the_sw_rights} $P{to_mod_sublic} $P{sw}, and $P{to_perm_pers}, $P{subj_cond}:? $P{copr_perm_incl} in $P{sw_copr}\. $P{ack_pub_use_nosrc}\. This includes acknowledgments in either Copyright notices, Manuals, Publicity and Marketing documents or any documentation provided with any product containing this software\. $P{license_not_lib}\./,
+			qr/$P{perm_granted}, $P{free_charge}, $P{to_pers} $P{the_sw}, $P{to_deal_the_sw_rights} $P{to_mod_sublic} $P{sw}, and $P{to_perm_pers}, $P{subj_cond}:? $P{copr_perm_incl} in $P{cp_sw_copr}\. $P{ack_pub_use_nosrc}\. This includes acknowledgments in either Copyright notices, Manuals, Publicity and Marketing documents or any documentation provided with any product containing this software\. $P{license_not_lib}\./,
 	},
 	mit_feh => {
 		name    => 'MIT-feh',
 		caption => 'MIT (feh)',
 		tags    => ['mit'],
 		pat =>
-			qr/$P{perm_granted}, $P{free_charge}, $P{to_pers} $P{the_sw}, $P{to_deal_the_sw_rights} $P{to_mod_sublic} $P{sw}, and $P{to_perm_pers}, $P{subj_cond}:? $P{copr_perm_incl} in $P{sw_doc} and $P{ack_doc_pkg_use}\./,
+			qr/$P{perm_granted}, $P{free_charge}, $P{to_pers} $P{the_sw}, $P{to_deal_the_sw_rights} $P{to_mod_sublic} $P{sw}, and $P{to_perm_pers}, $P{subj_cond}:? $P{copr_perm_incl} in $P{cp_sw_doc} and $P{ack_doc_pkg_use}\./,
 	},
 	mit_new => {
 		'name.alt.org.spdx'      => 'MIT',
diff --git a/lib/Regexp/Pattern/License/Parts.pm b/lib/Regexp/Pattern/License/Parts.pm
index 539c411..2e443da 100644
--- a/lib/Regexp/Pattern/License/Parts.pm
+++ b/lib/Regexp/Pattern/License/Parts.pm
@@ -45,9 +45,9 @@ our %RE = (
 		pat =>
 			qr/this software and associated documentation files \(the "?Material"?\)/
 	},
-	sw_copr =>
+	cp_sw_copr =>
 		{ pat => qr/all copies of the Software and its Copyright notices/ },
-	sw_doc => { pat => qr/all copies of the Software and its documentation/ },
+	cp_sw_doc => { pat => qr/all copies of the Software and its documentation/ },
 	the_sw => {
 		pat =>
 			qr/this software and associated documentation files \(the "?Software"?\)/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/licensecheck.git



More information about the Pkg-perl-cvs-commits mailing list