mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-06-02 08:10:17 +00:00
fix profiles property of modulemd
This commit is contained in:
parent
5705879dcc
commit
0db0040f1d
|
@ -49,20 +49,9 @@ type ModuleMd struct {
|
||||||
Documentation string `yaml:"documentation,omitempty"`
|
Documentation string `yaml:"documentation,omitempty"`
|
||||||
Tracker string `yaml:"tracker,omitempty"`
|
Tracker string `yaml:"tracker,omitempty"`
|
||||||
} `yaml:"references,omitempty"`
|
} `yaml:"references,omitempty"`
|
||||||
Profiles struct {
|
Profiles map[string]*struct {
|
||||||
Container struct {
|
Description string `yaml:"description,omitempty"`
|
||||||
Rpms []string `yaml:"rpms,omitempty"`
|
Rpms []string `yaml:"rpms,omitempty"`
|
||||||
} `yaml:"container,omitempty"`
|
|
||||||
Minimal struct {
|
|
||||||
Description string `yaml:"description,omitempty"`
|
|
||||||
Rpms []string `yaml:"rpms,omitempty"`
|
|
||||||
} `yaml:"minimal,omitempty"`
|
|
||||||
Buildroot struct {
|
|
||||||
Rpms []string `yaml:"rpms,omitempty"`
|
|
||||||
} `yaml:"buildroot,omitempty"`
|
|
||||||
SrpmBuildroot struct {
|
|
||||||
Rpms []string `yaml:"rpms,omitempty"`
|
|
||||||
} `yaml:"srpm-buildroot,omitempty"`
|
|
||||||
} `yaml:"profiles,omitempty"`
|
} `yaml:"profiles,omitempty"`
|
||||||
API struct {
|
API struct {
|
||||||
Rpms []string `yaml:"rpms,omitempty"`
|
Rpms []string `yaml:"rpms,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user