rpmlint/suse-manpages-for-rc-scripts.patch
Dirk Mueller 15bad7fc73 - update to 1.5:
* New Homepage
  * Plenty of new checks
- add compressed-backup-regex.diff
- remove python3_magic_number_fix.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=189
2013-06-28 13:29:34 +00:00

14 lines
652 B
Diff

Index: rpmlint-1.5/FilesCheck.py
===================================================================
--- rpmlint-1.5.orig/FilesCheck.py
+++ rpmlint-1.5/FilesCheck.py
@@ -1404,7 +1404,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