diff --git a/fence-agents.changes b/fence-agents.changes index a9405f4..b0d2d79 100644 --- a/fence-agents.changes +++ b/fence-agents.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 12 21:39:40 UTC 2022 - Ben Greiner + +- Do not use oauth2client on Tumbleweed: deprecated package. + oauth2 is supported since 4.8: gh#ClusterLabs/fence-agents#384 + ------------------------------------------------------------------- Thu Mar 31 13:33:20 UTC 2022 - varkoly@suse.com diff --git a/fence-agents.spec b/fence-agents.spec index 9ea6298..f613c66 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -41,7 +41,11 @@ BuildRequires: %{python_version} BuildRequires: python3-google-api-python-client BuildRequires: python3-keystoneclient BuildRequires: python3-novaclient +%if 0%{suse_version} >= 1550 +BuildRequires: python3-oauth2 +%else BuildRequires: python3-oauth2client +%endif BuildRequires: python3-openwsman BuildRequires: python3-pexpect BuildRequires: python3-pycurl