rpmlint/suse-manpages-for-rc-scripts.patch
2013-02-26 11:08:19 +00:00

14 lines
652 B
Diff

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