From 94f85db8f1804b0132bd58b48cf5e05c29470623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 15 Oct 2009 17:25:54 +0000 Subject: [PATCH] Don't append dbginfo to the debug packages' partOf data --- ChangeLog | 4 ++++ pisi/operations/build.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6c8d26e..72e52988 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-10-15 Ozan Çağlayan + * pisi/operations/build.py (Builder.generate_debug_package_object): + Don't append dbginfo to the debug packages' component. + 2009-09-25 Gökçen Eraslan * pisi/actionsapi/pisitools.py: In dosym method, file that already exists is the destination file, not the source file. Print the correct error message diff --git a/pisi/operations/build.py b/pisi/operations/build.py index 5088ba8b..4d038911 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -497,7 +497,7 @@ class Builder: self.actionLocals[func]() else: import catbox - + ctx.ui.info(_("Sandbox enabled build...")) # Configure allowed paths from sandbox.conf @@ -653,7 +653,7 @@ class Builder: # FIXME: find a better way to deal with the summary and description constants. debug_package_obj.summary['en'] = u'Debug files for %s' % (self.spec.source.name) debug_package_obj.description['en'] = u'Debug files for %s' % (self.spec.source.name) - debug_package_obj.partOf = self.spec.source.partOf + ctx.const.debug_name_suffix + debug_package_obj.partOf = self.spec.source.partOf for f in debug_files: debug_package_obj.files.append(pisi.specfile.Path(path = f[len(self.pkg_debug_dir()):], fileType = "debug"))