Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
rpmlint
usr-arch.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File usr-arch.diff of Package rpmlint
Index: BinariesCheck.py =================================================================== --- BinariesCheck.py.orig +++ BinariesCheck.py @@ -177,6 +177,7 @@ path_regex = re.compile('(.*/)([^/]+)') numeric_dir_regex = re.compile('/usr(?:/share)/man/man./(.*)\.[0-9](?:\.gz|\.bz2)') versioned_dir_regex = re.compile('[^.][0-9]') usr_share = re.compile('^/usr/share/') +usr_arch_share = re.compile('/share/.*/(?:x86|i.86|x86_64|ppc|ppc64|s390|s390x|ia64)') etc = re.compile('^/etc/') not_stripped = re.compile('not stripped') unstrippable = re.compile('\.o$|\.static$') @@ -251,7 +252,7 @@ class BinariesCheck(AbstractCheck.Abstra printError(pkg, 'arch-independent-package-contains-binary-or-object', fname) else: # in /usr/share ? - if usr_share.search(fname): + if usr_share.search(fname) and not usr_arch_share.search(fname): printError( pkg, 'arch-dependent-file-in-usr-share', fname) # in /etc ?
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