forked from pool/rpmlint
23 lines
722 B
Diff
23 lines
722 B
Diff
From: Some One <nobody@opensuse.org>
|
|
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
|
Subject: [PATCH] no-doc-for-lib.diff
|
|
|
|
===================================================================
|
|
---
|
|
FilesCheck.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: rpmlint-rpmlint-1.10/FilesCheck.py
|
|
===================================================================
|
|
--- rpmlint-rpmlint-1.10.orig/FilesCheck.py
|
|
+++ rpmlint-rpmlint-1.10/FilesCheck.py
|
|
@@ -440,7 +440,7 @@ class FilesCheck(AbstractCheck.AbstractC
|
|
debuginfo_srcs = False
|
|
debuginfo_debugs = False
|
|
|
|
- if not doc_files:
|
|
+ if not lib_package and not doc_files:
|
|
printWarning(pkg, 'no-documentation')
|
|
|
|
if files:
|