Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
rpmlint
suse-hide-unstripped-outside-build.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-hide-unstripped-outside-build.diff of Package rpmlint
Index: BinariesCheck.py =================================================================== --- BinariesCheck.py.orig +++ BinariesCheck.py @@ -10,6 +10,7 @@ import re import stat +import os import rpm @@ -265,7 +266,9 @@ class BinariesCheck(AbstractCheck.Abstra # stripped ? if not is_ocaml_native and not unstrippable.search(fname): - if not_stripped.search(pkgfile.magic): + if not_stripped.search(pkgfile.magic) 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', fname)
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