diff --git a/rpmbuild/SPECS/traefik.spec b/rpmbuild/SPECS/traefik.spec index 8f7cf04..630e2ea 100644 --- a/rpmbuild/SPECS/traefik.spec +++ b/rpmbuild/SPECS/traefik.spec @@ -24,6 +24,8 @@ Requires(pre): shadow-utils BuildRequires: systemd BuildRequires: breezy BuildRequires: golang >= 1.15 +BuildRequires: git +BuildRequires: go-bindata %description %{common_description} @@ -42,6 +44,10 @@ cp %{S:2} %{name}.yaml %build GO111MODULE=off go get github.com/containous/go-bindata/... + +# Workaround for "GOVCS disallows using bzr for public XXX" +export GOVCS='private:all,public:all' + go generate CGO_ENABLED=0 GO111MODULE=on go build -o %{gobuilddir}/traefik %{goipath}/cmd/traefik