forked from pool/rpmlint
Copy from Base:System/rpmlint based on submit request 30231 from user lnussel OBS-URL: https://build.opensuse.org/request/show/30231 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=50
14 lines
573 B
Diff
14 lines
573 B
Diff
--- TagsCheck.py
|
|
+++ TagsCheck.py
|
|
@@ -626,7 +626,9 @@
|
|
if not group:
|
|
printError(pkg, 'no-group-tag')
|
|
else:
|
|
- if VALID_GROUPS and group not in VALID_GROUPS:
|
|
+ if pkg.name.find('-devel') != -1 and not group.startswith('Development/'):
|
|
+ printWarning(pkg, 'devel-package-with-non-devel-group', group)
|
|
+ elif VALID_GROUPS and group not in VALID_GROUPS:
|
|
printWarning(pkg, 'non-standard-group', group)
|
|
else:
|
|
res = AbstractCheck.macro_regex.search(group)
|