- Add cloud dependencies
This commit is contained in:
parent
de1653b7d9
commit
17df3dbdfc
@ -74,12 +74,7 @@ BuildRequires: python-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
|
BuildRequires: ha-cloud-support
|
||||||
BuildRequires: python3-google-api-client python3-pyroute2
|
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
BuildRequires: python3-google-api-python-client
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
|
||||||
@ -213,6 +208,9 @@ export CFLAGS
|
|||||||
%configure \
|
%configure \
|
||||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||||
PYTHON="%{__python3}" \
|
PYTHON="%{__python3}" \
|
||||||
|
%endif
|
||||||
|
%ifarch x86_64
|
||||||
|
PYTHONPATH="%{_usr}/lib/fence-agents/support/google" \
|
||||||
%endif
|
%endif
|
||||||
%{conf_opt_fatal} \
|
%{conf_opt_fatal} \
|
||||||
%if %{defined _unitdir}
|
%if %{defined _unitdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user