mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
Detect target package by its full name, instead of assuming its origin is identical to the source package type
This commit is contained in:
parent
a461e16dec
commit
3559336247
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user