Skip to content

Commit

Permalink
Merge pull request #867 from marxin/skip-shared-library-without-depen…
Browse files Browse the repository at this point in the history
…dency-information-for-python

Skip shared-library-without-dependency-information for python.
  • Loading branch information
marxin authored May 18, 2022
2 parents d141a20 + 5df25ab commit 9bc4848
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpmlint/checks/BinariesCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,9 @@ def _check_rpath(self, pkg, pkgfile):
def _check_library_dependency(self, pkg, pkgfile):
if self.is_archive:
return
if any(pkgfile.name.startswith(p) for p in KERNEL_MODULES_PATHS):
elif any(pkgfile.name.startswith(p) for p in KERNEL_MODULES_PATHS):
return
elif self.python_module_regex.fullmatch(pkgfile.name):
return

dyn_section = self.readelf_parser.dynamic_section_info
Expand Down

0 comments on commit 9bc4848

Please sign in to comment.