fix i586 build

This commit is contained in:
Sergey Zhemoitel 2021-08-28 12:34:37 +03:00
parent 52e20bdf3f
commit 864ffd2419

View file

@ -48,7 +48,13 @@ A commercial version called Consul Enterprise is also available.
%setup -q
%build
%make linux
%ifarch x86_64 amd64
arch="amd64"
%else
arch="386"
%endif
build-support/scripts/build-local.sh -o linux -a $arch
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}