OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=493
This commit is contained in:
parent
24e9388d4b
commit
9b471c162a
@ -16,7 +16,7 @@ Index: rpmlint-rpmlint-1.10/TagsCheck.py
|
||||
for lang in langs:
|
||||
self.check_description(pkg, lang, ignored_words)
|
||||
+
|
||||
+ if len(pkg[rpm.RPMTAG_DESCRIPTION].partition('Authors:')[0])-4 < len(pkg[rpm.RPMTAG_SUMMARY]):
|
||||
+ if len(Pkg.b2s(pkg[rpm.RPMTAG_DESCRIPTION]).partition('Authors:')[0])-4 < len(pkg[rpm.RPMTAG_SUMMARY]):
|
||||
+ printWarning(pkg, 'description-shorter-than-summary')
|
||||
else:
|
||||
printError(pkg, 'no-description-tag')
|
||||
|
Loading…
Reference in New Issue
Block a user