use python-, not python2- for leap 42
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=95
This commit is contained in:
parent
6c05c794c2
commit
f84c907c02
@ -38,16 +38,25 @@ Patch2: 0002-Build-without-openwsman-installed.patch
|
|||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: %{python_version}
|
BuildRequires: %{python_version}
|
||||||
BuildRequires: %{python_version}-google-api-python-client
|
|
||||||
BuildRequires: %{python_version}-keystoneclient
|
|
||||||
BuildRequires: %{python_version}-novaclient
|
|
||||||
BuildRequires: %{python_version}-oauth2client
|
|
||||||
BuildRequires: %{python_version}-pexpect
|
|
||||||
BuildRequires: %{python_version}-pycurl
|
|
||||||
BuildRequires: %{python_version}-requests
|
|
||||||
BuildRequires: %{python_version}-xml
|
|
||||||
%if %{python_version} == "python3"
|
%if %{python_version} == "python3"
|
||||||
|
BuildRequires: python3-google-api-python-client
|
||||||
|
BuildRequires: python3-keystoneclient
|
||||||
|
BuildRequires: python3-novaclient
|
||||||
|
BuildRequires: python3-oauth2client
|
||||||
BuildRequires: python3-openwsman
|
BuildRequires: python3-openwsman
|
||||||
|
BuildRequires: python3-pexpect
|
||||||
|
BuildRequires: python3-pycurl
|
||||||
|
BuildRequires: python3-requests
|
||||||
|
BuildRequires: python3-xml
|
||||||
|
%else
|
||||||
|
BuildRequires: python-google-api-python-client
|
||||||
|
BuildRequires: python-keystoneclient
|
||||||
|
BuildRequires: python-novaclient
|
||||||
|
BuildRequires: python-oauth2client
|
||||||
|
BuildRequires: python-pexpect
|
||||||
|
BuildRequires: python-pycurl
|
||||||
|
BuildRequires: python-requests
|
||||||
|
BuildRequires: python-xml
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -63,9 +72,15 @@ BuildRequires: perl-Net-Telnet
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
|
||||||
Requires: %{python_version}-pexpect
|
%if %{python_version} == "python3"
|
||||||
Requires: %{python_version}-pycurl
|
Requires: python3-pexpect
|
||||||
Requires: %{python_version}-requests
|
Requires: python3-pycurl
|
||||||
|
Requires: python3-requests
|
||||||
|
%else
|
||||||
|
Requires: python-pexpect
|
||||||
|
Requires: python-pycurl
|
||||||
|
Requires: python-requests
|
||||||
|
%endif
|
||||||
Requires: net-snmp
|
Requires: net-snmp
|
||||||
Requires: openssh
|
Requires: openssh
|
||||||
Requires: perl-Net-Telnet
|
Requires: perl-Net-Telnet
|
||||||
|
Loading…
Reference in New Issue
Block a user