diff --git a/fence-agents.spec b/fence-agents.spec index 2de5757..ea2ae2b 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -9,7 +9,7 @@ Name: fence-agents Summary: Set of unified programs capable of host isolation ("fencing") Version: 4.7.1 -Release: 7%{?alphatag:.%{alphatag}}%{?dist} +Release: 8%{?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 @@ -102,7 +102,7 @@ Patch3: ha-cloud-support-azure.patch Patch4: ha-cloud-support-google.patch Patch5: ha-cloud-support-openstack.patch -%global supportedagents amt_ws apc apc_snmp bladecenter brocade cisco_mds cisco_ucs drac5 eaton_snmp emerson eps hpblade ibmblade ifmib ilo ilo_moonshot ilo_mp ilo_ssh intelmodular ipdu ipmilan kdump lpar mpath redfish rhevm rsa rsb sbd scsi vmware_rest vmware_soap wti +%global supportedagents amt_ws apc apc_snmp bladecenter brocade cisco_mds cisco_ucs compute drac5 eaton_snmp emerson eps evacuate hpblade ibmblade ifmib ilo ilo_moonshot ilo_mp ilo_ssh intelmodular ipdu ipmilan kdump lpar mpath redfish rhevm rsa rsb sbd scsi vmware_rest vmware_soap wti %ifarch x86_64 %global testagents virsh heuristics_ping aliyun aws azure_arm gce %endif @@ -154,6 +154,14 @@ fence-agents-wti \\ EOF) +%ifarch x86_64 ppc64le +%global allfenceagents %(cat < 7 || 0%{?rhel} > 7 || 0%{?suse_version} +Requires: python3-requests +%else +Requires: python-requests +%endif +Requires: fence-agents-common = %{version}-%{release} +BuildArch: noarch +%description compute +Fence agent for Nova compute nodes. +%files compute +%{_sbindir}/fence_compute +%{_sbindir}/fence_evacuate +%{_mandir}/man8/fence_compute.8* +%{_mandir}/man8/fence_evacuate.8* +%endif + %package drac5 License: GPLv2+ and LGPLv2+ Summary: Fence agent for Dell DRAC 5 @@ -944,10 +972,7 @@ Fence agent for IBM z/VM over IP. %endif %changelog -* Mon Mar 22 2021 Oyvind Albrigtsen - 4.7.1-7 -- fence-agents-compute: move to separate package - -* Mon Mar 8 2021 Oyvind Albrigtsen - 4.7.1-6 +* Tue Mar 23 2021 Oyvind Albrigtsen - 4.7.1-8 - cloud agents: only build for x86_64 * Thu Mar 4 2021 Oyvind Albrigtsen - 4.7.1-5