2008-04-17 04:52:37 +02:00
|
|
|
--- TagsCheck.py
|
|
|
|
+++ TagsCheck.py
|
2009-09-16 18:41:21 +02:00
|
|
|
@@ -576,6 +576,9 @@
|
|
|
|
if not description:
|
|
|
|
printError(pkg, 'no-description-tag')
|
|
|
|
else:
|
|
|
|
+ if len(description.partition('Authors:')[0])-4 <= len(summary):
|
|
|
|
+ printWarning(pkg, 'description-shorter-than-summary')
|
2008-04-17 04:52:37 +02:00
|
|
|
+
|
2009-09-16 18:41:21 +02:00
|
|
|
spell_check(pkg, description, 'description')
|
|
|
|
for l in description.splitlines():
|
|
|
|
utf8l = l
|
|
|
|
@@ -786,6 +789,10 @@
|
2008-04-17 04:52:37 +02:00
|
|
|
'''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.''',
|