- Use python3-oauth2. It is available for all relevant distributions

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=165
This commit is contained in:
Peter Varkoly 2024-01-09 15:43:20 +00:00 committed by Git OBS Bridge
parent ea70a8d9d5
commit f351edce21
2 changed files with 6 additions and 12 deletions

View File

@ -1,8 +1,7 @@
-------------------------------------------------------------------
Wed Jan 3 19:50:32 UTC 2024 - Peter Varkoly <varkoly@suse.com>
Tue Jan 9 15:41:08 UTC 2024 - Peter Varkoly <varkoly@suse.com>
- 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

View File

@ -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