1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-14 16:26:13 +01:00

Merge pull request #1356 from isbm/isbm-debbuild-fix

Do not determine queried package by the source package origin
This commit is contained in:
Daniel Mach 2023-07-14 10:04:16 +02:00 committed by GitHub
commit 80c8976d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1367,7 +1367,7 @@ def main(apiurl, opts, argv):
for i in bi.deps:
if i.hdrmd5:
if not i.name.startswith('container:') and i.pacsuffix != 'rpm':
if not i.name.startswith('container:') and not i.fullfilename.endswith(".rpm"):
continue
if i.name.startswith('container:'):
hdrmd5 = dgst(i.fullfilename)