SHA256
1
0
forked from pool/rpmlint
rpmlint/no-doc-for-lib.diff

14 lines
405 B
Diff
Raw Normal View History

Index: FilesCheck.py
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
@@ -830,7 +830,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: