mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
fix buildrequires and requires type
This commit is contained in:
parent
fa52ff07e3
commit
059cb525a7
@ -41,20 +41,8 @@ type ModuleMd struct {
|
||||
} `yaml:"license,omitempty"`
|
||||
Xmd map[string]interface{} `yaml:"xmd,omitempty"`
|
||||
Dependencies []struct {
|
||||
Buildrequires struct {
|
||||
Platform []string `yaml:"platform,omitempty"`
|
||||
Buildtools []string `yaml:"buildtools,omitempty"`
|
||||
Compatible []string `yaml:"compatible,omitempty"`
|
||||
Extras []interface{} `yaml:"extras,omitempty"`
|
||||
Moreextras []string `yaml:"moreextras,omitempty"`
|
||||
} `yaml:"buildrequires,omitempty,omitempty"`
|
||||
Requires struct {
|
||||
Platform []string `yaml:"platform,omitempty"`
|
||||
Compatible []string `yaml:"compatible,omitempty"`
|
||||
Runtime []string `yaml:"runtime,omitempty"`
|
||||
Extras []interface{} `yaml:"extras,omitempty"`
|
||||
Moreextras []string `yaml:"moreextras,omitempty"`
|
||||
} `yaml:"requires,omitempty,omitempty"`
|
||||
Buildrequires map[string]interface{} `yaml:"buildrequires,omitempty,omitempty"`
|
||||
Requires map[string]interface{} `yaml:"requires,omitempty,omitempty"`
|
||||
} `yaml:"dependencies,omitempty"`
|
||||
References struct {
|
||||
Community string `yaml:"community,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user