--- 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):