uzak derleme işlemleri için paketin tüm dosyalarını /var/pisi/PAKETADI altına çek ki pspec.xml nerede diye aramayalım...
This commit is contained in:
@@ -71,6 +71,7 @@ class Constants:
|
||||
#in some places literals are just as good, for instance
|
||||
#when constant is the same as string. readability is important...
|
||||
self.__c.actions_file = "actions.py"
|
||||
self.__c.pspec_file = "pspec.xml"
|
||||
self.__c.files_dir = "files"
|
||||
self.__c.metadata_dir = "metadata"
|
||||
self.__c.translations_file = "translations.xml"
|
||||
|
||||
@@ -244,6 +244,7 @@ class Builder:
|
||||
self.destdir = pisi.util.join_path(ctx.config.tmp_dir(), pkgname)
|
||||
#self.location = os.path.dirname(self.url.uri)
|
||||
|
||||
self.fetch_pspecfile()
|
||||
self.fetch_actionsfile()
|
||||
self.fetch_translationsfile()
|
||||
self.fetch_patches()
|
||||
@@ -252,6 +253,10 @@ class Builder:
|
||||
|
||||
return self.destdir
|
||||
|
||||
def fetch_pspecfile(self):
|
||||
pspecuri = pisi.util.join_path(self.specdiruri, ctx.const.pspec_file)
|
||||
self.download(pspecuri, self.destdir)
|
||||
|
||||
def fetch_actionsfile(self):
|
||||
actionsuri = pisi.util.join_path(self.specdiruri, ctx.const.actions_file)
|
||||
self.download(actionsuri, self.destdir)
|
||||
|
||||
Reference in New Issue
Block a user