ensure the origin of an internal rpm starts with file://
This commit is contained in:
parent
4303d856bc
commit
aaaa051e26
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ class BuildRoot(object):
|
|||
raise koji.BuildError, "No origin for %s" % key
|
||||
erepo = erepo_idx.get(ext_url)
|
||||
if not erepo:
|
||||
if ext_url.endswith(localtail):
|
||||
if ext_url.startswith('file://') and ext_url.endswith(localtail):
|
||||
# internal rpm
|
||||
continue
|
||||
raise koji.BuildError, "Unknown origin for %s: %s" % (key, ext_url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue