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

Bug#553207: lintian: wrong patch-system-but-no-source-readme when using quilt with 3.0 (quilt) source packages



tags 553207 + patch
thanks

Raphaël Hertzog a écrit :
> This warning is wrong since with this source format the quilt
> patch is auto-applied by dpkg-source -x and we don't need any special
> instruction.

Attached is a patch that fixes this issue.


Cheers,

-- 
Stéphane
>From 200244d14e1387906ae25c7027044883e920aa4f Mon Sep 17 00:00:00 2001
From: Stephane Glondu <steph@glondu.net>
Date: Wed, 4 Nov 2009 09:41:07 +0100
Subject: [PATCH] Do not issue patch-system-but-no-source-readme with quilt format

---
 checks/patch-systems |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checks/patch-systems b/checks/patch-systems
index 8fde4dd..0a29cce 100644
--- a/checks/patch-systems
+++ b/checks/patch-systems
@@ -167,7 +167,7 @@ sub run {
 	}
 
 	#----- look for README.source
-	if ($uses_patch_system && ! -f 'debfiles/README.source') {
+	if ($uses_patch_system && ! $quilt_format && ! -f 'debfiles/README.source') {
 		tag "patch-system-but-no-source-readme";
 	}
 
-- 
1.6.5


Reply to: