[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#575879: [checks/files] Fixed PHP simplepie check



Package: lintian
Version: 2.4.0
Severity: normal
Tags: patch

Hi!

Attached you will find a patch to fix it.

Cheers,


-- 
Marcelo Jorge Vieira
xmpp://metal@jabber-br.org
http://metaldot.alucinados.com
From ead6293e5c311248ac732f152b074eb1952cf763 Mon Sep 17 00:00:00 2001
From: Marcelo Jorge Vieira (metal) <metal@debian.org>
Date: Sun, 28 Mar 2010 23:30:23 -0300
Subject: [PATCH] Fixed PHP simplepie check

* checks/files:
  The simplepie class can begin with "class." or "class-"
---
 checks/files |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checks/files b/checks/files
index 5f286be..931503b 100644
--- a/checks/files
+++ b/checks/files
@@ -99,7 +99,7 @@ our @phplibraries = (
     [ qr,(?i).*layersmenu.*/(lib/)?PHPLIB\.php$, => 'libphp-phplayersmenu' ],
     [ qr,(?i)phpSniff\.(class|core)\.php$, => 'libphp-phpsniff' ],
     [ qr,(?i)(class\.)?jabber\.php$, => 'libphp-jabber' ],
-    [ qr,(?i)simplepie(\.(php|inc))+$, => 'libphp-simplepie' ],
+    [ qr,(?i)(class(\.|-))?simplepie(\.(php|inc))+$, => 'libphp-simplepie' ],
     [ qr,(?i)jpgraph\.php$, => 'libphp-jpgraph' ],
     [ qr,(?i)fpdf\.php$, => 'php-fpdf' ],
     [ qr,(?i)getid3\.(lib\.)?(\.(php|inc))+$, => 'php-getid3' ],
-- 
1.7.0.3

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: