Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
rpmlint
buildroot-in-scripts.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File buildroot-in-scripts.diff of Package rpmlint
--- SpecCheck.py +++ SpecCheck.py @@ -186,7 +186,7 @@ lib = 0 if_depth = 0 ifarch_depth = -1 - current_section = 'package' + current_section = 'package' buildroot_clean={'clean':0 , 'install':0} buildroot_created={'clean':False , 'install':True} depscript_override = 0 @@ -196,8 +196,11 @@ section = {} buildrequires = set() - for sec in ['description', 'prep', 'build', 'install', 'clean', - 'files', 'changelog', 'package', 'check']: + for sec in ('description', 'prep', 'build', 'install', 'clean', + 'files', 'changelog', 'package', 'check', + 'pre', 'post', 'postun', 'trigger', 'triggerin', + 'triggerprein', 'triggerun', 'triggerpostun', + 'pretrans', 'posttrans'): section[sec] = { 'count': 0, 're': re.compile('^%' + sec + '(?:\s|$)'), @@ -223,7 +226,9 @@ if section_marker: 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