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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user