mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-28 05:46:20 +02:00
clean: remove last mentions to rpmbuild (#84)
* clean: remove last mentions to rpmbuild Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: goproxy Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
03193b2ab0
commit
d29b42a9de
|
@ -1,9 +1,5 @@
|
||||||
# acceptance does not work with current default trusty
|
# acceptance does not work with current default trusty
|
||||||
dist: xenial
|
dist: xenial
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- rpm
|
|
||||||
language: go
|
language: go
|
||||||
go: '1.13.x'
|
go: '1.13.x'
|
||||||
services:
|
services:
|
||||||
|
@ -12,8 +8,6 @@ before_install:
|
||||||
- sudo docker run --privileged linuxkit/binfmt:v0.7
|
- sudo docker run --privileged linuxkit/binfmt:v0.7
|
||||||
install:
|
install:
|
||||||
- make setup
|
- make setup
|
||||||
before_script:
|
|
||||||
- rpmbuild --version
|
|
||||||
script:
|
script:
|
||||||
- make ci
|
- make ci
|
||||||
after_success:
|
after_success:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ TEST_OPTIONS?=
|
||||||
|
|
||||||
export PATH := ./bin:$(PATH)
|
export PATH := ./bin:$(PATH)
|
||||||
export GO111MODULE := on
|
export GO111MODULE := on
|
||||||
export GOPROXY := https://gocenter.io
|
export GOPROXY := https://proxy.golang.org,https://gocenter.io,direct
|
||||||
|
|
||||||
# Install all the build and lint dependencies
|
# Install all the build and lint dependencies
|
||||||
setup:
|
setup:
|
||||||
|
|
|
@ -28,7 +28,7 @@ so I hacked this together and it works!
|
||||||
* [x] provide packaging for the most common linux packaging systems (at very least deb and rpm)
|
* [x] provide packaging for the most common linux packaging systems (at very least deb and rpm)
|
||||||
* [x] be distributed as a single binary
|
* [x] be distributed as a single binary
|
||||||
* [x] reproducible results
|
* [x] reproducible results
|
||||||
* [x] depend on the fewer external things as possible (namely `rpmbuild`)
|
* [x] depend on the fewer external things as possible
|
||||||
* [x] generate packages based on yaml files (maybe also json and toml?)
|
* [x] generate packages based on yaml files (maybe also json and toml?)
|
||||||
* [x] be possible to use it as a lib in other go projects (namely [goreleaser][] itself)
|
* [x] be possible to use it as a lib in other go projects (namely [goreleaser][] itself)
|
||||||
* [ ] support complex packages and power users
|
* [ ] support complex packages and power users
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -8,7 +8,7 @@ require (
|
||||||
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
|
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
|
||||||
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
|
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
|
||||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/google/rpmpack v0.0.0-20191004000632-07246cf402fe
|
github.com/google/rpmpack v0.0.0-20191008200312-0a19814a44d4
|
||||||
github.com/imdario/mergo v0.3.8
|
github.com/imdario/mergo v0.3.8
|
||||||
github.com/kr/pretty v0.1.0 // indirect
|
github.com/kr/pretty v0.1.0 // indirect
|
||||||
github.com/mattn/go-zglob v0.0.1
|
github.com/mattn/go-zglob v0.0.1
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -14,8 +14,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
|
||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg=
|
github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg=
|
||||||
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
|
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
|
||||||
github.com/google/rpmpack v0.0.0-20191004000632-07246cf402fe h1:465GSygXcdjtvc7bEe30+3KZ9yWLUNBo3C0Vp7yTbaw=
|
github.com/google/rpmpack v0.0.0-20191008200312-0a19814a44d4 h1:fmYHpHYf8uqxPFxL6IDWFUgtmpTxkAnD+cZv2/Ef2I8=
|
||||||
github.com/google/rpmpack v0.0.0-20191004000632-07246cf402fe/go.mod h1:RaTPr0KUf2K7fnZYLNDrr8rxAamWs3iNywJLtQ2AzBg=
|
github.com/google/rpmpack v0.0.0-20191008200312-0a19814a44d4/go.mod h1:RaTPr0KUf2K7fnZYLNDrr8rxAamWs3iNywJLtQ2AzBg=
|
||||||
github.com/imdario/mergo v0.3.8 h1:CGgOkSJeqMRmt0D9XLWExdT4m4F1vd3FV3VPt+0VxkQ=
|
github.com/imdario/mergo v0.3.8 h1:CGgOkSJeqMRmt0D9XLWExdT4m4F1vd3FV3VPt+0VxkQ=
|
||||||
github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
||||||
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
|
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Package rpm implements nfpm.Packager providing .rpm bindings through rpmbuild.
|
// Package rpm implements nfpm.Packager providing .rpm bindings using
|
||||||
|
// google/rpmpack.
|
||||||
package rpm
|
package rpm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in New Issue