You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
common.Assert(common.Contains(supportedAlgorithms, build.FileChecksumAlgo), fmt.Sprintf("Unsupported checksum algorithm used for '%s' build. Supported algorithms: %v", build_name, supportedAlgorithms))
96
+
97
+
varsupportedBuilds []string= []string{
98
+
"amd64",
99
+
"source",
100
+
"noarch",
101
+
}
102
+
103
+
common.Assert(common.Contains(supportedBuilds, build_name), fmt.Sprintf("Unsupported build '%s'. Supported builds (please contact with maintainers to support more builds): %v", supportedBuilds))
104
+
105
+
ifbuild_name=="source" {
106
+
common.Assert(len(build.MandatoryDependencies.Build) ==0, "source packages can not contain build time dependencies")
107
+
common.Assert(len(build.SuggestedDependencies.Build) ==0, "source packages can not contain build time dependencies")
0 commit comments