From 5feb9b89b718bb7a76424c3833518ef307b5af3b Mon Sep 17 00:00:00 2001 From: Oyvind Albrigtsen Date: Mon, 3 Feb 2025 13:44:08 +0100 Subject: [PATCH] - fence_azure_arm: fix bundled lib path Resolves: RHEL-76495 --- fence-agents.spec | 4 ++-- ha-cloud-support-azure.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fence-agents.spec b/fence-agents.spec index c7db561..244a699 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -13,7 +13,7 @@ Name: fence-agents Summary: Set of unified programs capable of host isolation ("fencing") Version: 4.16.0 -Release: 4%{?alphatag:.%{alphatag}}%{?dist} +Release: 5%{?alphatag:.%{alphatag}}%{?dist} License: GPL-2.0-or-later AND LGPL-2.0-or-later URL: https://github.com/ClusterLabs/fence-agents Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz @@ -1182,7 +1182,7 @@ are located on corosync cluster nodes. %endif %changelog -* Mon Feb 3 2025 Oyvind Albrigtsen - 4.16.0-4 +* Mon Feb 3 2025 Oyvind Albrigtsen - 4.16.0-5 - fence_azure_arm: use azure-identity instead of msrestazure, which has been deprecated Resolves: RHEL-76495 diff --git a/ha-cloud-support-azure.patch b/ha-cloud-support-azure.patch index addf332..8ace52e 100644 --- a/ha-cloud-support-azure.patch +++ b/ha-cloud-support-azure.patch @@ -5,8 +5,8 @@ -import sys, re, pexpect +import sys, re -+sys.path.insert(0, '/usr/lib/fence-agents/support/common/python#PYTHON3_VERSION#/site-packages') -+sys.path.insert(1, '/usr/lib/fence-agents/support/azure/python#PYTHON3_VERSION#/site-packages') ++sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') ++sys.path.insert(1, '/usr/lib/fence-agents/support/azure/lib/python#PYTHON3_VERSION#/site-packages') +try: + import pexpect +except: