diff --git a/fence-agents.changes b/fence-agents.changes index 7260b17..72d4c81 100644 --- a/fence-agents.changes +++ b/fence-agents.changes @@ -1,8 +1,7 @@ ------------------------------------------------------------------- -Wed Jan 3 19:50:32 UTC 2024 - Peter Varkoly +Tue Jan 9 15:41:08 UTC 2024 - Peter Varkoly -- suse_version is still 1500 for every service pack. - Use sle_version instead. +- Use python3-oauth2. It is available for all relevant distributions ------------------------------------------------------------------- Tue Nov 14 18:57:33 UTC 2023 - varkoly@suse.com diff --git a/fence-agents.spec b/fence-agents.spec index 89d7e85..7c7c4d5 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -33,15 +33,6 @@ Patch1: 0001-Use-Python-3-for-all-scripts-bsc-1065966.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_version} -BuildRequires: python3-google-api-python-client -BuildRequires: python3-keystoneclient -BuildRequires: python3-novaclient -%if 0%{?sle_version} >= 150500 -BuildRequires: python3-oauth2 -%else -BuildRequires: python3-google-auth-oauthlib -BuildRequires: python3-oauth2client -%endif BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes @@ -55,6 +46,10 @@ BuildRequires: mozilla-nss-devel BuildRequires: perl BuildRequires: perl-Net-Telnet BuildRequires: pkg-config +BuildRequires: python3-google-api-python-client +BuildRequires: python3-keystoneclient +BuildRequires: python3-novaclient +BuildRequires: python3-oauth2 BuildRequires: python3-openwsman BuildRequires: python3-pexpect BuildRequires: python3-pycurl