forked from pool/rpmlint
eaf5a8d432
Copy from Base:System/rpmlint based on submit request 20532 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/20532 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=46
14 lines
571 B
Diff
14 lines
571 B
Diff
Index: TagsCheck.py
|
|
===================================================================
|
|
--- TagsCheck.py.orig
|
|
+++ TagsCheck.py
|
|
@@ -602,6 +602,8 @@ class TagsCheck(AbstractCheck.AbstractCh
|
|
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:
|