This commit is contained in:
parent
ede1d19275
commit
c1abdb28c1
@ -47,10 +47,8 @@ using the host machine entitlements.
|
|||||||
%prep
|
%prep
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
||||||
export TAR_OPTIONS="-I zstd"
|
export TAR_OPTIONS="-I zstd"
|
||||||
%setup -q -n %{project}-%{version} -a1
|
|
||||||
%else
|
|
||||||
%setup -q -n %{project}-%{version} -a1
|
|
||||||
%endif
|
%endif
|
||||||
|
%setup -q -n %{project}-%{version} -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go build -tags enablecgo -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect
|
go build -tags enablecgo -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user