|
|
@ -24,6 +24,8 @@ Requires(pre): shadow-utils |
|
|
BuildRequires: systemd |
|
|
BuildRequires: systemd |
|
|
BuildRequires: breezy |
|
|
BuildRequires: breezy |
|
|
BuildRequires: golang >= 1.15 |
|
|
BuildRequires: golang >= 1.15 |
|
|
|
|
|
BuildRequires: git |
|
|
|
|
|
BuildRequires: go-bindata |
|
|
|
|
|
|
|
|
%description |
|
|
%description |
|
|
%{common_description} |
|
|
%{common_description} |
|
|
@ -42,6 +44,10 @@ cp %{S:2} %{name}.yaml |
|
|
|
|
|
|
|
|
%build |
|
|
%build |
|
|
GO111MODULE=off go get github.com/containous/go-bindata/... |
|
|
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 |
|
|
go generate |
|
|
CGO_ENABLED=0 GO111MODULE=on go build -o %{gobuilddir}/traefik %{goipath}/cmd/traefik |
|
|
CGO_ENABLED=0 GO111MODULE=on go build -o %{gobuilddir}/traefik %{goipath}/cmd/traefik |
|
|
|
|
|
|
|
|
|