Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
rpmlint
buildroot-in-scripts.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File buildroot-in-scripts.diff of Package rpmlint
Index: SpecCheck.py =================================================================== --- SpecCheck.py.orig +++ SpecCheck.py @@ -57,7 +57,10 @@ suse_version_regex = re.compile('%suse_v section_regexs = dict( ([x, re.compile('^%' + x + '(?:\s|$)')] for x in ('build', 'changelog', 'check', 'clean', 'description', 'files', - 'install', 'package', 'prep'))) + 'install', 'package', 'prep', + 'pre', 'post', 'postun', 'trigger', 'triggerin', + 'triggerprein', 'triggerun', 'triggerpostun', + 'pretrans', 'posttrans'))) # Only check for /lib, /usr/lib, /usr/X11R6/lib # TODO: better handling of X libraries and modules. @@ -257,7 +260,9 @@ class SpecCheck(AbstractCheck.AbstractCh continue - if current_section in ('prep', 'build'): + if current_section in ('prep', 'build', 'pre', 'post', 'postun', + 'trigger', 'triggerin', 'triggerprein', 'triggerun', 'triggerpostun', + 'pretrans', 'posttrans'): if contains_buildroot(line): printWarning(pkg, 'rpm-buildroot-usage', '%' + current_section, line[:-1].strip())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor