Dirk Mueller
aae8be1227
* make it more obvious which rpmlintrc causes an exception (bnc#801192) OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=175
14 lines
652 B
Diff
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
|