forked from pool/rpmlint
update
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=325
This commit is contained in:
parent
8de109f53b
commit
e23f0fe11c
@ -1,17 +0,0 @@
|
||||
# Confusing message. The problem is not that the file does not end
|
||||
# with ".spec", but that there is a mismatch of specname and pkg name.
|
||||
Index: rpmlint-1.5/SpecCheck.py
|
||||
===================================================================
|
||||
--- rpmlint-1.5.orig/SpecCheck.py
|
||||
+++ rpmlint-1.5/SpecCheck.py
|
||||
@@ -621,8 +621,8 @@ addDetails(
|
||||
SPEC file to build a valid RPM package.''',
|
||||
|
||||
'invalid-spec-name',
|
||||
-'''Your spec filename must end with '.spec'. If it's not the case, rename your
|
||||
-file and rebuild your package.''',
|
||||
+'''The spec file name (without the .spec suffix) must match the package name
|
||||
+("Name:" tag). Either rename your package or the specfile.''',
|
||||
|
||||
'non-utf8-spec-file',
|
||||
'''The character encoding of the spec file is not UTF-8. Convert it for
|
@ -33,6 +33,7 @@ Source2: config
|
||||
Source3: config.in
|
||||
Source11: pie.config
|
||||
Source12: licenses.config
|
||||
Source98: update_git.sh
|
||||
Source99: README.packaging.txt
|
||||
Source100: syntax-validator.py
|
||||
Url: https://sourceforge.net/projects/rpmlint/
|
||||
|
@ -1,13 +0,0 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user