PR#524: Add support for debugsource
Merges #524 https://pagure.io/koji/pull-request/524
This commit is contained in:
commit
658953af54
1 changed files with 2 additions and 3 deletions
|
|
@ -1052,9 +1052,8 @@ def _check_NVRA(nvra):
|
|||
|
||||
def is_debuginfo(name):
|
||||
"""Determines if an rpm is a debuginfo rpm, based on name"""
|
||||
if name.endswith('-debuginfo') or name.find('-debuginfo-') != -1:
|
||||
return True
|
||||
return False
|
||||
return (name.endswith('-debuginfo') or name.endswith('-debugsource') or
|
||||
'-debuginfo-' in name)
|
||||
|
||||
def canonArch(arch):
|
||||
"""Given an arch, return the "canonical" arch"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue