forked from pool/rpmlint
12 lines
481 B
Diff
12 lines
481 B
Diff
|
--- TagsCheck.py
|
||
|
+++ TagsCheck.py
|
||
|
@@ -586,6 +586,8 @@ class TagsCheck(AbstractCheck.AbstractCheck):
|
||
|
else:
|
||
|
if VALID_GROUPS and group not in VALID_GROUPS:
|
||
|
printWarning(pkg, 'non-standard-group', group)
|
||
|
+ if pkg.name.find('-devel') != -1 and not group.startswith('Development/'):
|
||
|
+ printWarning(pkg, 'devel-package-with-non-devel-group', group)
|
||
|
|
||
|
buildhost=pkg[rpm.RPMTAG_BUILDHOST]
|
||
|
if not buildhost:
|