handle debugsource same way as debuginfo packages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
9c4348e55b
commit
7a3bf2791e
1 changed files with 2 additions and 1 deletions
|
|
@ -1052,7 +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:
|
||||
if name.endswith('-debuginfo') or name.endswith('-debugsource') or \
|
||||
name.find('-debuginfo-') != -1:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue