- ha-cloud-support: only build aliyun-cli on x86_64
Resolves: RHEL-27929 Resolves: RHEL-28097
This commit is contained in:
parent
2eee8b9d92
commit
c0a739031d
@ -328,7 +328,10 @@ BuildRequires: libxslt
|
|||||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
# dependencies for building HA support subpackages
|
# dependencies for building HA support subpackages
|
||||||
BuildRequires: python3-pip python3-wheel golang
|
BuildRequires: python3-pip python3-wheel
|
||||||
|
%ifarch x86_64
|
||||||
|
BuildRequires: golang
|
||||||
|
%endif
|
||||||
BuildRequires: python3-pycurl python3-requests
|
BuildRequires: python3-pycurl python3-requests
|
||||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
|
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
|
||||||
BuildRequires: openwsman-python3
|
BuildRequires: openwsman-python3
|
||||||
@ -429,6 +432,7 @@ sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# aliyun-cli
|
# aliyun-cli
|
||||||
|
%ifarch x86_64
|
||||||
tar zxf %SOURCE2000
|
tar zxf %SOURCE2000
|
||||||
pushd aliyun-cli-*
|
pushd aliyun-cli-*
|
||||||
git init
|
git init
|
||||||
@ -443,6 +447,7 @@ mv aliyun-openapi-meta-* aliyun-openapi-meta
|
|||||||
mkdir -p ../support/aliyun/aliyun-cli
|
mkdir -p ../support/aliyun/aliyun-cli
|
||||||
install -m 0755 out/aliyun ../support/aliyun/aliyun-cli/
|
install -m 0755 out/aliyun ../support/aliyun/aliyun-cli/
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
# support libs
|
# support libs
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
|
Loading…
Reference in New Issue
Block a user