Check build dependencies before downloading all the patches
of a remote build operation. BUG:FIXED:5370
This commit is contained in:
@@ -118,6 +118,9 @@ class Builder:
|
||||
|
||||
def __init__(self, specuri):
|
||||
|
||||
self.componentdb = pisi.db.componentdb.ComponentDB()
|
||||
self.installdb = pisi.db.installdb.InstallDB()
|
||||
|
||||
# process args
|
||||
if not isinstance(specuri, pisi.uri.URI):
|
||||
specuri = pisi.uri.URI(specuri)
|
||||
@@ -140,9 +143,6 @@ class Builder:
|
||||
self.actionGlobals = None
|
||||
self.srcDir = None
|
||||
|
||||
self.componentdb = pisi.db.componentdb.ComponentDB()
|
||||
self.installdb = pisi.db.installdb.InstallDB()
|
||||
|
||||
def set_spec_file(self, specuri):
|
||||
if not specuri.is_remote_file():
|
||||
specuri = pisi.uri.URI(os.path.realpath(specuri.get_uri())) # FIXME: doesn't work for file://
|
||||
@@ -247,6 +247,7 @@ class Builder:
|
||||
|
||||
self.fetch_pspecfile()
|
||||
self.fetch_actionsfile()
|
||||
self.check_build_dependencies()
|
||||
self.fetch_translationsfile()
|
||||
self.fetch_patches()
|
||||
self.fetch_comarfiles()
|
||||
|
||||
Reference in New Issue
Block a user