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