SHA256
1
0
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:
Ludwig Nussel 2011-11-29 12:43:23 +00:00 committed by Git OBS Bridge
parent f12b3af8ef
commit d335cb5bab
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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