forked from pool/traefik
Accepting request 1148855 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/1148855 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/traefik?expand=0&rev=11
This commit is contained in:
commit
5c0121920c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 14:21:09 UTC 2024 - Johannes Weberhofer <jweberhofer@weberhofer.at>
|
||||
|
||||
- Fixed packaging of UI
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 08 12:51:12 UTC 2023 - alexandre.vicenzi@suse.com
|
||||
|
||||
|
10
traefik.spec
10
traefik.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package traefik
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -56,7 +56,7 @@ Pointing Traefik at your orchestrator should be the only configuration step you
|
||||
tar -xf %{SOURCE1}
|
||||
|
||||
# unpack webui
|
||||
tar -xf %{SOURCE4}
|
||||
tar -xf %{SOURCE4} -C webui --strip-components=2
|
||||
|
||||
# see script/generate
|
||||
go generate
|
||||
@ -66,9 +66,9 @@ build_date=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +"%%Y%%m%%d")
|
||||
CGO_ENABLED=0 GOGC=off go build \
|
||||
-buildmode=pie \
|
||||
-mod=vendor \
|
||||
-ldflags "-X github.com/traefik/traefik/v3/pkg/version.Version=%{version} \
|
||||
-X github.com/traefik/traefik/v3/pkg/version.Codename='' \
|
||||
-X github.com/traefik/traefik/v3/pkg/version.BuildDate=${build_date}" \
|
||||
-ldflags "-X github.com/traefik/traefik/v2/pkg/version.Version=%{version} \
|
||||
-X github.com/traefik/traefik/v2/pkg/version.Codename='' \
|
||||
-X github.com/traefik/traefik/v2/pkg/version.BuildDate=${build_date}" \
|
||||
-installsuffix nocgo \
|
||||
-o traefik \
|
||||
./cmd/traefik
|
||||
|
Loading…
Reference in New Issue
Block a user