rpmlint/no-doc-for-lib.diff

12 lines
299 B
Diff
Raw Normal View History

--- FilesCheck.py
+++ FilesCheck.py
@@ -292,7 +292,7 @@
log_file=0
logrotate_file=0
- if not doc_files:
+ if not lib_package and not doc_files:
printWarning(pkg, 'no-documentation')
if len(files.keys()) and meta_package_re.search(pkg.name):