- Remove amt-ws support as openwsman is not available on SLES16

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=198
This commit is contained in:
Peter Varkoly 2024-08-29 09:11:06 +00:00 committed by Git OBS Bridge
parent 0f9345e6dc
commit b3c1af9ada
2 changed files with 22 additions and 22 deletions

View File

@ -5,7 +5,7 @@ Thu Aug 29 07:48:56 UTC 2024 - Peter Varkoly <varkoly@suse.com>
%python3_fix_shebang_path instead of it.
- Use the %python_module to be able to build for the system python
version.
- openwsman is not required for build
- Remove amt-ws support as openwsman is not available on SLES16
-------------------------------------------------------------------
Mon Aug 5 09:19:27 UTC 2024 - Peter Varkoly <varkoly@suse.com>

View File

@ -16,7 +16,7 @@
#
%define agent_list aliyun alom amt amt_ws apc apc_snmp aws azure_arm bladecenter brocade cisco_mds cisco_ucs compute docker drac5 dummy eaton_snmp eaton_ssh emerson eps evacuate gce hds_cb hpblade ibmblade ibmz ibm_powervs ibm_vpc ifmib ilo ilo_moonshot ilo_mp ilo_ssh intelmodular ipdu ipmilan ironic kdump ldom lpar mpath netio openstack powerman pve raritan rcd_serial redfish rhevm rsa rsb sanbox2 sbd scsi vbox virsh vmware vmware_rest wti xenapi zvm
%define agent_list aliyun alom amt apc apc_snmp aws azure_arm bladecenter brocade cisco_mds cisco_ucs compute docker drac5 dummy eaton_snmp eaton_ssh emerson eps evacuate gce hds_cb hpblade ibmblade ibmz ibm_powervs ibm_vpc ifmib ilo ilo_moonshot ilo_mp ilo_ssh intelmodular ipdu ipmilan ironic kdump ldom lpar mpath netio openstack powerman pve raritan rcd_serial redfish rhevm rsa rsb sanbox2 sbd scsi vbox virsh vmware vmware_rest wti xenapi zvm
Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.15.0+git.1719822011.7a2c0a7f
@ -34,7 +34,6 @@ Source0: %{name}-%{version}.tar.xz
%global allfenceagents %(cat <<EOF
fence-agents-alom \\
fence-agents-amt \\
fence-agents-amt-ws \\
fence-agents-apc \\
fence-agents-apc-snmp \\
fence-agents-aws \\
@ -85,6 +84,7 @@ fence-agents-zvm \\
EOF)
#Agents not in sles
#fence-agents-amt-ws \\
#fence-agents-cdu \\
#fence-agents-cyberpower-ssh \\
#fence-agents-ecloud \\
@ -349,25 +349,25 @@ Fence agent for AMT compatibile devices that are accessed via
%{_sbindir}/fence_amt
%{_mandir}/man8/fence_amt.8*
%package amt-ws
License: Apache-2.0
Summary: Fence agent for Intel AMT (WS-Man) devices
Requires: fence-agents-common = %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
Requires: openwsman-python3
%else
Requires: python3-openwsman
%endif
Provides: %{name}-amt_ws = %{version}-%{release}
Obsoletes: %{name}-amt_ws < %{version}-%{release}
BuildArch: noarch
%description amt-ws
Fence agent for AMT (WS-Man) devices.
%files amt-ws
%{_sbindir}/fence_amt_ws
%{_mandir}/man8/fence_amt_ws.8*
#%package amt-ws
#License: Apache-2.0
#Summary: Fence agent for Intel AMT (WS-Man) devices
#Requires: fence-agents-common = %{version}-%{release}
#%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
#Requires: openwsman-python3
#%else
#Requires: python3-openwsman
#%endif
#Provides: %{name}-amt_ws = %{version}-%{release}
#Obsoletes: %{name}-amt_ws < %{version}-%{release}
#BuildArch: noarch
#
#%description amt-ws
#Fence agent for AMT (WS-Man) devices.
#
#%files amt-ws
#%{_sbindir}/fence_amt_ws
#%{_mandir}/man8/fence_amt_ws.8*
%package apc
License: GPL-2.0-or-later AND LGPL-2.0-or-later