diff --git a/fence-agents.changes b/fence-agents.changes index 2336e50..2d05ce6 100644 --- a/fence-agents.changes +++ b/fence-agents.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 9 16:53:49 UTC 2017 - kgronlund@suse.com + +- Move to python3 + ------------------------------------------------------------------- Tue Aug 29 14:08:30 UTC 2017 - kgronlund@suse.com diff --git a/fence-agents.spec b/fence-agents.spec index d44d80f..e2c79d3 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -54,24 +54,23 @@ BuildRequires: libxml2-tools BuildRequires: libxslt BuildRequires: mozilla-nspr-devel BuildRequires: mozilla-nss-devel -BuildRequires: openwsman-python BuildRequires: perl BuildRequires: perl-Net-Telnet BuildRequires: pkg-config -BuildRequires: python -BuildRequires: python-curl -BuildRequires: python-pexpect -BuildRequires: python-requests -BuildRequires: python-xml +BuildRequires: python3 +BuildRequires: python3-openwsman +BuildRequires: python3-pexpect +BuildRequires: python3-pycurl +BuildRequires: python3-requests +BuildRequires: python3-xml BuildRequires: xz Requires: net-snmp Requires: openssh Requires: perl-Net-Telnet -Requires: python-curl -Requires: python-openssl -Requires: python-pexpect -Requires: python-requests +Requires: python3-pexpect +Requires: python3-pycurl +Requires: python3-requests Requires: sg3_utils Requires: telnet @@ -122,6 +121,8 @@ development. %build CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}" export CFLAGS +PYTHON="%{_bindir}/env python3" +export PYTHON ./autogen.sh %{configure} --with-agents='%{agent_list}' make