--- TagsCheck.py +++ TagsCheck.py @@ -594,6 +594,9 @@ class TagsCheck(AbstractCheck.AbstractCheck): if use_utf8 and not Pkg.is_utf8_str(description): printError(pkg, 'tag-not-utf8', '%description') + if len(description.partition('Authors:')[0])-4 <= len(summary): + printWarning(pkg, 'description-shorter-than-summary') + group=pkg[rpm.RPMTAG_GROUP] if not group: printError(pkg, 'no-group-tag') @@ -769,6 +772,10 @@ Name tag.''', '''The major number of the library isn't included in the package's name. ''', +'description-shorter-than-summary', +'''The package description is shorter than the summary. be a bit more +verbose, please.''', + 'no-provides', '''Your library package doesn't provide the -devel name without the major version included.''',