forked from pool/rpmlint
Dirk Mueller
3073721c60
* rpmdiff: Teach rpmdiff about pretrans and posttrans * SpecCheck.py: merge patch from #97, using BuildArch with something else than Noarch is likely a error and causing issues. * FilesCheck.py: Add Python 3.3 magic number * FilesCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, PostCheck.py: Prepare for rpm-python possibly returning script progs as arrays. OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=133
14 lines
664 B
Diff
14 lines
664 B
Diff
Index: TagsCheck.py
|
|
===================================================================
|
|
--- TagsCheck.py.orig
|
|
+++ TagsCheck.py
|
|
@@ -883,7 +883,7 @@ class TagsCheck(AbstractCheck.AbstractCh
|
|
spell_check(pkg, utf8summary, 'Summary(%s)', lang, ignored_words)
|
|
if '\n' in summary:
|
|
printError(pkg, 'summary-on-multiple-lines', lang)
|
|
- if summary[0] != summary[0].upper():
|
|
+ if summary[0] != summary[0].upper() and not summary.startswith("openSUSE"):
|
|
printWarning(pkg, 'summary-not-capitalized', lang, summary)
|
|
if summary[-1] == '.':
|
|
printWarning(pkg, 'summary-ended-with-dot', lang, summary)
|