Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
rpmdevtools
rmdevelrpms_fix_filename_search.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rmdevelrpms_fix_filename_search.patch of Package rpmdevtools
Index: rpmdevtools-8.10/rpmdev-rmdevelrpms.py =================================================================== --- rpmdevtools-8.10.orig/rpmdev-rmdevelrpms.py +++ rpmdevtools-8.10/rpmdev-rmdevelrpms.py @@ -111,7 +111,11 @@ def isDevelPkg(hdr): if not (stat.S_ISLNK(fmodes[i]) or stat.S_ISREG(fmodes[i])): # Not a file or a symlink: ignore. pass - fn = fnames[i] + # newer rpm binding returns filenames as string, so convert to bytes + try: + fn = fnames[i].encode() + except AttributeError: + fn = fnames[i] if so_re.search(fn): # *.so or a *.so.*: cannot be sure, treat pkg as non-devel. so_found = 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