mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Stop setting repository in module packages with non gitlabified names
This commit is contained in:
parent
f6b3beb7dd
commit
c9c2426a7f
@ -308,12 +308,6 @@ func patchModuleYaml(pd *data.ProcessData, md *data.ModeData) {
|
||||
rpm.Ref = tipHash
|
||||
}
|
||||
|
||||
for name, rpm := range module.Data.Components.Rpms {
|
||||
if name != gitlabify(name) {
|
||||
rpm.Repository = fmt.Sprintf("https://%s/rpms/%s.git", pd.UpstreamPrefixHttps, gitlabify(name))
|
||||
}
|
||||
}
|
||||
|
||||
rootModule := fmt.Sprintf("%s.yaml", md.RpmFile.Name())
|
||||
err = module.Marshal(md.Worktree.Filesystem, rootModule)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user