This commit is contained in:
parent
a5ba9beac9
commit
7a7edddd6a
@ -45,7 +45,12 @@ container-suseconnect gives access to package repositories inside containers
|
||||
using the host machine entitlements.
|
||||
|
||||
%prep
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
||||
%setup -q -n %{project}-%{version}
|
||||
tar -I zstd -xvf %{SOURCE1}
|
||||
%else
|
||||
%setup -q -n %{project}-%{version} -a1
|
||||
%endif
|
||||
|
||||
%build
|
||||
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