2015-04-10 16:35:46 +02:00
|
|
|
From: Some One <nobody@opensuse.org>
|
|
|
|
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
|
|
|
Subject: [PATCH] no-doc-for-lib.diff
|
|
|
|
|
2009-08-28 22:12:54 +02:00
|
|
|
===================================================================
|
2015-04-10 16:35:46 +02:00
|
|
|
---
|
|
|
|
FilesCheck.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2017-09-28 22:18:14 +02:00
|
|
|
Index: rpmlint-rpmlint-1.10/FilesCheck.py
|
2017-09-28 13:35:09 +02:00
|
|
|
===================================================================
|
2017-09-28 22:18:14 +02:00
|
|
|
--- rpmlint-rpmlint-1.10.orig/FilesCheck.py
|
|
|
|
+++ rpmlint-rpmlint-1.10/FilesCheck.py
|
|
|
|
@@ -440,7 +440,7 @@ class FilesCheck(AbstractCheck.AbstractC
|
2009-09-16 18:41:21 +02:00
|
|
|
debuginfo_srcs = False
|
|
|
|
debuginfo_debugs = False
|
2008-04-17 04:52:37 +02:00
|
|
|
|
|
|
|
- if not doc_files:
|
|
|
|
+ if not lib_package and not doc_files:
|
|
|
|
printWarning(pkg, 'no-documentation')
|
|
|
|
|
2009-08-28 22:12:54 +02:00
|
|
|
if files:
|