Add conflicts, replaces, provides to nfpm.Overridables
This commit is contained in:
parent
c159377df3
commit
b25d3e9965
5
build.go
5
build.go
@ -236,7 +236,10 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager) ([]st
|
||||
License: strings.Join(vars.Licenses, ", "),
|
||||
Maintainer: vars.Maintainer,
|
||||
Overridables: nfpm.Overridables{
|
||||
Depends: append(repoDeps, builtNames...),
|
||||
Conflicts: vars.Conflicts,
|
||||
Replaces: vars.Replaces,
|
||||
Provides: vars.Provides,
|
||||
Depends: append(repoDeps, builtNames...),
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user