1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-18 23:14:12 +01:00

fix: rpm: passing verbose flag to rpmbuild

This commit is contained in:
Carlos Alexandro Becker 2018-09-12 12:58:54 -03:00
parent 7d1cb29113
commit 45930e66ca
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

@ -59,6 +59,7 @@ func (*RPM) Package(info nfpm.Info, w io.Writer) error {
}
var args = []string{
"--verbose",
"--define", fmt.Sprintf("_topdir %s", temps.Root),
"--define", fmt.Sprintf("_tmppath %s/tmp", temps.Root),
"--target", fmt.Sprintf("%s-unknown-%s", info.Arch, info.Platform),