SHA256
1
0
forked from pool/rpmlint

- update suse-whitelist-opensuse.diff to avoid a false positive

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=540
This commit is contained in:
Dirk Mueller 2017-10-24 12:49:55 +00:00 committed by Git OBS Bridge
parent 72670212f7
commit dbbe8b55cf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 24 12:49:34 UTC 2017 - dmueller@suse.com
- update suse-whitelist-opensuse.diff to avoid a false positive
-------------------------------------------------------------------
Tue Oct 24 08:00:11 UTC 2017 - krahmer@suse.com

View File

@ -28,7 +28,7 @@ index ea131e3..d3da24c 100644
if '\n' in summary:
printError(pkg, 'summary-on-multiple-lines', lang)
- if summary[0] != summary[0].upper():
+ if (not summary[0].isupper() and
+ if (summary[0] != summary[0].upper() and
+ summary.partition(' ')[0] not in CAPITALIZED_IGNORE_LIST):
printWarning(pkg, 'summary-not-capitalized', lang, summary)
if summary[-1] == '.':