forked from pool/rpmlint
Dirk Mueller
2764482b3b
0001-Handle-post-scripts-that-contain-non-ascii-character.patch OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=515
23 lines
985 B
Diff
23 lines
985 B
Diff
From: Some One <nobody@opensuse.org>
|
|
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
|
Subject: [PATCH] suse-whitelist-opensuse.diff
|
|
|
|
===================================================================
|
|
---
|
|
TagsCheck.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: rpmlint-rpmlint-1.10/TagsCheck.py
|
|
===================================================================
|
|
--- rpmlint-rpmlint-1.10.orig/TagsCheck.py
|
|
+++ rpmlint-rpmlint-1.10/TagsCheck.py
|
|
@@ -953,7 +953,7 @@ class TagsCheck(AbstractCheck.AbstractCh
|
|
spell_check(pkg, summary, '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)
|