- 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. %python3_fix_shebang_path instead of it.
- Use the %python_module to be able to build for the system python - Use the %python_module to be able to build for the system python
version. 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> 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 Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing") Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.15.0+git.1719822011.7a2c0a7f Version: 4.15.0+git.1719822011.7a2c0a7f
@ -34,7 +34,6 @@ Source0: %{name}-%{version}.tar.xz
%global allfenceagents %(cat <<EOF %global allfenceagents %(cat <<EOF
fence-agents-alom \\ fence-agents-alom \\
fence-agents-amt \\ fence-agents-amt \\
fence-agents-amt-ws \\
fence-agents-apc \\ fence-agents-apc \\
fence-agents-apc-snmp \\ fence-agents-apc-snmp \\
fence-agents-aws \\ fence-agents-aws \\
@ -85,6 +84,7 @@ fence-agents-zvm \\
EOF) EOF)
#Agents not in sles #Agents not in sles
#fence-agents-amt-ws \\
#fence-agents-cdu \\ #fence-agents-cdu \\
#fence-agents-cyberpower-ssh \\ #fence-agents-cyberpower-ssh \\
#fence-agents-ecloud \\ #fence-agents-ecloud \\
@ -349,25 +349,25 @@ Fence agent for AMT compatibile devices that are accessed via
%{_sbindir}/fence_amt %{_sbindir}/fence_amt
%{_mandir}/man8/fence_amt.8* %{_mandir}/man8/fence_amt.8*
%package amt-ws #%package amt-ws
License: Apache-2.0 #License: Apache-2.0
Summary: Fence agent for Intel AMT (WS-Man) devices #Summary: Fence agent for Intel AMT (WS-Man) devices
Requires: fence-agents-common = %{version}-%{release} #Requires: fence-agents-common = %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel} #%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
Requires: openwsman-python3 #Requires: openwsman-python3
%else #%else
Requires: python3-openwsman #Requires: python3-openwsman
%endif #%endif
Provides: %{name}-amt_ws = %{version}-%{release} #Provides: %{name}-amt_ws = %{version}-%{release}
Obsoletes: %{name}-amt_ws < %{version}-%{release} #Obsoletes: %{name}-amt_ws < %{version}-%{release}
BuildArch: noarch #BuildArch: noarch
#
%description amt-ws #%description amt-ws
Fence agent for AMT (WS-Man) devices. #Fence agent for AMT (WS-Man) devices.
#
%files amt-ws #%files amt-ws
%{_sbindir}/fence_amt_ws #%{_sbindir}/fence_amt_ws
%{_mandir}/man8/fence_amt_ws.8* #%{_mandir}/man8/fence_amt_ws.8*
%package apc %package apc
License: GPL-2.0-or-later AND LGPL-2.0-or-later License: GPL-2.0-or-later AND LGPL-2.0-or-later