🎉 Use new Azure SDK Python packages

The python3-azure-sdk package will soon be retired as it uses the old
installation method from a single commit from the upstream repository.

Switch to using the new individually-packaged SDK components when
setting the Requires for the Azure fence agents.

Signed-off-by: Major Hayden <major@mhtx.net>
This commit is contained in:
Major Hayden 2021-07-14 12:55:39 -05:00
parent 02680698fb
commit 7a97c26098
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1

View File

@ -13,7 +13,7 @@
Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.9.0
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
Release: 2%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+
URL: https://github.com/ClusterLabs/fence-agents
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz
@ -399,7 +399,11 @@ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Azure Resource Manager
Requires: fence-agents-common = %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-azure-sdk
Requires: python3-azure-common
Requires: python3-azure-identity
Requires: python3-azure-mgmt-compute
Requires: python3-azure-mgmt-network
Requires: python3-msrestazure
%else
Requires: python-azure-sdk
%endif
@ -1319,6 +1323,9 @@ are located on corosync cluster nodes.
%{_libdir}/fence-virt/cpg.so
%changelog
* Wed Jul 14 2021 Major Hayden <major@mhtx.net> - 4.9.0-2
- Use new Azure Python SDK packages for F35+.
* Fri Jun 4 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-1
- new upstream release
@ -1552,5 +1559,3 @@ are located on corosync cluster nodes.
* Mon Mar 11 2013 Marek Grac <mgrac@redhat.com> - 4.0.0-1
- new upstream release
- introducing subpackages