// GetBuildRequires gets all build requirements for the given source RPM. If
// the RPM is a binary or debuginfo RPM an error is returned.
GetBuildRequires gets all build requirements for the given source RPM. If
the RPM is a binary or debuginfo RPM an error is returned.
// GetBuildRequires gets all build requirements for the given source RPM . If // the RPM is a binary or debuginfo RPM an error is returned .
func GetBuildRequires(repo *Repo, rpm string) ([]string, error) {
	r, err := GetRPM(repo, rpm)
	if err != nil {
		return []string{}, nil
	}
	return r.BuildRequires, nil
}
func GetBuildRequires ( repo * Repo , rpm string ) ( [ ] string , error ) { r , err := GetRPM ( repo , rpm ) if err != nil { return [ ] string { } , nil } return r . BuildRequires , nil }
GetBuildRequires gets all build requirements for the given source RPM.
GetBuildRequires gets all build requirements for the given source RPM .