Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
rpmlint
suse-hide-unstripped-outside-build.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-hide-unstripped-outside-build.diff of Package rpmlint
--- BinariesCheck.py +++ BinariesCheck.py @@ -16,6 +16,7 @@ import Config import Pkg import stat +import os DEFAULT_SYSTEM_LIB_PATHS=('/lib', '/usr/lib', '/usr/X11R6/lib', '/lib64', '/usr/lib64', '/usr/X11R6/lib64') @@ -193,7 +194,9 @@ # stripped ? if not unstrippable.search(i[0]) and not is_ocaml_native: - if not_stripped.search(i[1]): + if not_stripped.search(i[1]) and \ + (os.environ.get('BUILD_IS_RUNNING', None) == None or \ + os.environ.get('BUILD_DEBUG_FLAGS','').find('-g') != -1): printWarning(pkg, 'unstripped-binary-or-object', i[0]) # inspect binary file
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