Marcus Meissner
63947e02a7
- Add suse-manpages-for-rc-scripts.patch: Don't complain about missing man-pages for rc-scripts OBS-URL: https://build.opensuse.org/request/show/144581 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=159
13 lines
597 B
Diff
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
|