SHA256
1
0
forked from pool/rpmlint
rpmlint/suse-manpages-for-rc-scripts.patch

14 lines
652 B
Diff
Raw Normal View History

Index: rpmlint-1.4/FilesCheck.py
===================================================================
--- rpmlint-1.4.orig/FilesCheck.py
+++ rpmlint-1.4/FilesCheck.py
@@ -1434,7 +1434,7 @@ class FilesCheck(AbstractCheck.AbstractC
for exe, paths in bindir_exes.items():
if len(paths) > 1:
printWarning(pkg, "duplicate-executable", exe, paths)
- if exe not in man_basenames:
+ if exe not in man_basenames and not exe.startswith("rc") and len(paths) is not 0:
printWarning(pkg, "no-manual-page-for-binary", exe)
# Create an object to enable the auto registration of the test