Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
rpmlint.1414
suse-binary-info-compile-opts.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-binary-info-compile-opts.diff of Package rpmlint.1414
--- BinariesCheck.py +++ BinariesCheck.py @@ -56,10 +56,11 @@ self.debuginfo=0 self.symtab=0 self.tail = '' + self.compileOpts = set() is_debug=BinaryInfo.debug_file_regex.search(path) - cmd = ['env', 'LC_ALL=C', 'readelf', '-W', '-S', '-l', '-d', '-s'] + cmd = ['env', 'LC_ALL=C', 'readelf', '-W', '-S', '-l', '-d', '-s', '-p', '.comment.SUSE.OPTs'] cmd.append(path) res = Pkg.getstatusoutput(cmd) if not res[0]: @@ -115,6 +116,9 @@ self.symtab=1 continue + if l.lower().find(" ospwg") != -1: + self.compileOpts.add(l.rpartition(' ')[2]) + if self.non_pic: self.non_pic=BinaryInfo.non_pic_regex.search(res[1])
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