forked from pool/rpmlint
Accepting request 144581 from home:saschpe:branches:devel:openSUSE:Factory:rpmlint
- 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
This commit is contained in:
parent
5c7def2ded
commit
63947e02a7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 7 12:53:43 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Add suse-manpages-for-rc-scripts.patch: Don't complain about
|
||||||
|
missing man-pages for rc-scripts
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 29 10:24:22 UTC 2012 - dimstar@opensuse.org
|
Thu Nov 29 10:24:22 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -117,6 +117,9 @@ Patch86: suse-rclink-check.diff
|
|||||||
Patch88: suse-speccheck-utf8.diff
|
Patch88: suse-speccheck-utf8.diff
|
||||||
Patch89: suse-python-abi-check.diff
|
Patch89: suse-python-abi-check.diff
|
||||||
Patch90: python3_magic_number_fix.diff
|
Patch90: python3_magic_number_fix.diff
|
||||||
|
# PATCH-FIX-OPENSUSE: saschpe@suse.de - Don't complain about missing man-pages for rc-scripts
|
||||||
|
Patch91: suse-manpages-for-rc-scripts.patch
|
||||||
|
|
||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -190,6 +193,7 @@ source packages can be checked.
|
|||||||
%patch88
|
%patch88
|
||||||
%patch89
|
%patch89
|
||||||
%patch90
|
%patch90
|
||||||
|
%patch91 -p1
|
||||||
cp -p %{SOURCE2} .
|
cp -p %{SOURCE2} .
|
||||||
# Only move top-level python files
|
# Only move top-level python files
|
||||||
chmod 0755 rpmlint-checks-master/*.py
|
chmod 0755 rpmlint-checks-master/*.py
|
||||||
|
12
suse-manpages-for-rc-scripts.patch
Normal file
12
suse-manpages-for-rc-scripts.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user