[lintian] 03/06: Simplify double space now that we normalize spacing
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit e429fb42c20b064d506140b1b7a498a1cf55e6d6
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date: Tue Feb 25 11:09:01 2014 +0100
Simplify double space now that we normalize spacing
We normalize spacing so no need to use \s+
Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
checks/cruft.pm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/checks/cruft.pm b/checks/cruft.pm
index a31e3d6..37fb3dc 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -586,10 +586,10 @@ sub license_check {
# non-distributable
my $cleanedblock = _clean_block($block);
if (
- $cleanedblock =~ m/retain \s+ all \s+ intellectual \s+
- property \s+ and \s+ proprietary \s+ rights \s+ in \s+
- and \s+ to \s+ this \s+ software \s+ and \s+
- related \s+ documentation/xism
+ $cleanedblock =~ m/retain \s all \s intellectual \s
+ property \s and \s proprietary \s rights \s in \s
+ and \s to \s this \s software \s and \s
+ related \s documentation/xism
){
tag 'license-problem-nvidia-intellectual', $name;
$licenseproblemhash{'nvidia-intellectual'} = 1;
@@ -608,9 +608,9 @@ sub license_check {
&& index($block, 'good') > -1) {
my $cleanedblock = _clean_block($block);
if (
- $block =~ m/software \s++ shall \s++
- be \s++ used \s++ for \s++ good \s*+ ,?+ \s*+
- not \s++ evil/xsm
+ $block =~ m/software \s shall \s
+ be \s used \s for \s good \s* ,? \s*
+ not \s evil/xsm
){
# json evil license
tag 'license-problem-json-evil', $name;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: