rpmlint/suse-manpages-for-rc-scripts.patch

13 lines
597 B
Diff

diff -ruN a/FilesCheck.py b/FilesCheck.py
--- a/FilesCheck.py 2011-12-04 17:22:02.000000000 +0100
+++ b/FilesCheck.py 2012-12-07 13:48:46.544507295 +0100
@@ -948,7 +948,7 @@
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