rpmlint/suse-required-lsb-tags.diff

12 lines
666 B
Diff
Raw Normal View History

--- InitScriptCheck.py
+++ InitScriptCheck.py
@@ -105,7 +105,7 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
# TODO: where is it specified that these (or some)
# keywords are mandatory?
- for i in ('Provides', 'Description', 'Short-Description'):
+ for i in ('Provides', 'Required-Start', 'Required-Stop', 'Default-Start'):
if i not in lsb_tags.keys():
printError(pkg, 'missing-mandatory-lsb-keyword', "%s in %s" % (i, f))
if in_lsb_tag: