mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 10:36:12 +00:00
Readd make depends field to binary packages
This commit is contained in:
@@ -264,8 +264,7 @@ func CompileSourcePackage(archiveFilename, outputDirectory string, skipChecks bo
|
||||
pkgInfo.Arch = GetArch()
|
||||
}
|
||||
|
||||
// Remove source package specific fields
|
||||
pkgInfo.MakeDepends = nil
|
||||
// Remove split package field
|
||||
pkgInfo.SplitPackages = nil
|
||||
|
||||
// Marshal package info
|
||||
|
||||
@@ -466,8 +466,7 @@ func ReadPackageInfo(contents string) (*PackageInfo, error) {
|
||||
pkgInfoClone := *pkgInfo
|
||||
pkgInfo.SplitPackages[i] = &pkgInfoClone
|
||||
|
||||
// Set make depends and split package field of split package to nil
|
||||
pkgInfo.SplitPackages[i].MakeDepends = nil
|
||||
// Set split package field of split package to nil
|
||||
pkgInfo.SplitPackages[i].SplitPackages = nil
|
||||
|
||||
// Unmarshal json data back to struct
|
||||
|
||||
Reference in New Issue
Block a user