forked from pool/rpmlint
- fix devel-package-with-non-devel-group check (bnc#732897)
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=72
This commit is contained in:
parent
f12b3af8ef
commit
d335cb5bab
@ -6,7 +6,7 @@ Index: TagsCheck.py
|
||||
self._unexpanded_macros(pkg, 'Group', group)
|
||||
if not group:
|
||||
printError(pkg, 'no-group-tag')
|
||||
+ elif pkg.name.find('-devel') != -1 and not group.startswith('Development/'):
|
||||
+ elif pkg.name.endswith('-devel') 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)
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 12:39:47 UTC 2011 - lnussel@suse.de
|
||||
|
||||
- fix devel-package-with-non-devel-group check (bnc#732897)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 12:08:30 UTC 2011 - lnussel@suse.de
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user