From b7c4ff604ecf1e09ae20e8b7b05de590075f1171 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Sat, 11 Dec 2021 15:36:14 +0100 Subject: [PATCH] fix macro expansion --- SPECS/traefik.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/traefik.spec b/SPECS/traefik.spec index 8f5ca2d..3885f7c 100644 --- a/SPECS/traefik.spec +++ b/SPECS/traefik.spec @@ -11,7 +11,7 @@ and configures itself automatically and dynamically. Pointing Traefik at your orchestrator should be the only onfiguration step you need.} Name: traefik -Release: itix2 +Release: itix3 Summary: The Cloud Native Application Proxy License: MIT ExclusiveArch: x86_64 @@ -53,7 +53,7 @@ cp %{S:2} %{name}.yaml export GOVCS='private:all,public:all' go generate -CGO_ENABLED=0 GO111MODULE=on go build -ldflags="-s -w -X 'github.com/traefik/traefik/v2/pkg/version.Version=%Version' -X 'github.com/traefik/traefik/v2/pkg/version.Codename=ITIX' -X 'github.com/traefik/traefik/v2/pkg/version.BuildDate=$(date -Iseconds)'" -o %{gobuilddir}/traefik %{goipath}/cmd/traefik +CGO_ENABLED=0 GO111MODULE=on go build -ldflags="-s -w -X 'github.com/traefik/traefik/v2/pkg/version.Version=%{Version}' -X 'github.com/traefik/traefik/v2/pkg/version.Codename=ITIX' -X 'github.com/traefik/traefik/v2/pkg/version.BuildDate=$(date -Iseconds)'" -o %{gobuilddir}/traefik %{goipath}/cmd/traefik %install install -d %{buildroot}/opt/%{name}/etc/