From 90fd8a7ea79824f4635fe5e0afcf6f3f67632504e3208b4a118578cc33500942 Mon Sep 17 00:00:00 2001 From: Kristoffer Gronlund Date: Sat, 9 Sep 2017 16:54:14 +0000 Subject: [PATCH 1/2] - Move to python3 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=69 --- fence-agents.changes | 5 +++++ fence-agents.spec | 22 ++++++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) 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..49915aa 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -54,24 +54,24 @@ 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-openssl +Requires: python3-pexpect +Requires: python3-pycurl +Requires: python3-requests Requires: sg3_utils Requires: telnet @@ -122,6 +122,8 @@ development. %build CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}" export CFLAGS +PYTHON="%{_bindir}/env python3" +export PYTHON ./autogen.sh %{configure} --with-agents='%{agent_list}' make From e7f138833c0e74a3320701f611fa399016558228eb73d4543d410b2f9754c63f Mon Sep 17 00:00:00 2001 From: Kristoffer Gronlund Date: Sat, 9 Sep 2017 18:32:43 +0000 Subject: [PATCH 2/2] Remove require for python3-openssl OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=70 --- fence-agents.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/fence-agents.spec b/fence-agents.spec index 49915aa..e2c79d3 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -68,7 +68,6 @@ BuildRequires: xz Requires: net-snmp Requires: openssh Requires: perl-Net-Telnet -Requires: python3-openssl Requires: python3-pexpect Requires: python3-pycurl Requires: python3-requests