Do not add any dependency to debug packages. It is hard to find and add the real dependencies of the debug

package. When a debug package is tried to be installed, many unnecessary dependencies are coming with the 
package.(ex. kdebase-workspace, glibc-debug-info)

So now we are saying, any debug package is used by a person who knows what he/she is doing.
This commit is contained in:
Faik Uygur
2009-06-19 07:37:03 +00:00
parent 742198e3ad
commit f3a9621a4d
-5
View File
@@ -652,11 +652,6 @@ class Builder:
for f in debug_files:
debug_package_obj.files.append(pisi.specfile.Path(path = f[len(self.pkg_debug_dir()):], fileType = "debug"))
# append all generated packages to dependencies
for p in self.spec.packages:
debug_package_obj.packageDependencies.append(
pisi.dependency.Dependency(package = p.name))
return debug_package_obj
def gen_metadata_xml(self, package):