From efb7697f9d6604907a7bd76c1d54341dcf312a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Wed, 3 Mar 2010 12:37:40 +0000 Subject: [PATCH] Fix concatenation error This is a regression introduced when the support for Source/AdditionalFile support is added. --- ChangeLog | 5 +++++ pisi/operations/build.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9f10655d..6a1d7239 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-03 Fatih Aşıcı + * pisi/operations/build.py: Fix concatenation error. This is a + regression introduced when the support for Source/AdditionalFile + support is added. + 2010-02-28 Fatih Aşıcı * pisi/atomicoperations.py: Check if the old and new paths refer to the same file when relocating or cleaning up. Also diff --git a/pisi/operations/build.py b/pisi/operations/build.py index f902d9d6..e68c1ddd 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -365,7 +365,7 @@ class Builder: self.download(comaruri, pisi.util.join_path(self.destdir, ctx.const.comar_dir)) def fetch_additionalFiles(self): - for pkg in self.spec.packages + self.spec.source: + for pkg in self.spec.packages + [self.spec.source]: for afile in pkg.additionalFiles: file_name = os.path.basename(afile.filename) dir_name = os.path.dirname(afile.filename)