Dirk Mueller 2024-03-05 21:30:35 +00:00 committed by Git OBS Bridge
parent ede1d19275
commit c1abdb28c1

View File

@ -47,10 +47,8 @@ using the host machine entitlements.
%prep
%if 0%{?suse_version} && 0%{?suse_version} < 1500
export TAR_OPTIONS="-I zstd"
%setup -q -n %{project}-%{version} -a1
%else
%setup -q -n %{project}-%{version} -a1
%endif
%setup -q -n %{project}-%{version} -a1
%build
go build -tags enablecgo -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect