SHA256
1
0
forked from pool/rpmlint
rpmlint/no-doc-for-lib.diff
OBS User autobuild 773aa7d652 Accepting request 19018 from Base:System
Copy from Base:System/rpmlint based on submit request 19018 from user lnussel

OBS-URL: https://build.opensuse.org/request/show/19018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=44
2009-08-28 20:12:54 +00:00

14 lines
389 B
Diff

Index: FilesCheck.py
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
@@ -772,7 +772,7 @@ class FilesCheck(AbstractCheck.AbstractC
log_file = 0
logrotate_file = 0
- if not doc_files:
+ if not lib_package and not doc_files:
printWarning(pkg, 'no-documentation')
if files: