- fence-agents-compute: undo "move to separate package" for now

This commit is contained in:
Oyvind Albrigtsen 2021-03-23 10:35:57 +01:00
parent e28d9bdae5
commit f86c80ef93

View File

@ -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 <<EOF
%{allfenceagents} \\
fence-agents-compute \\
EOF)
%endif
# Build dependencies
## general
BuildRequires: autoconf automake libtool
@ -476,6 +484,26 @@ via the SNMP protocol.
%{_sbindir}/fence_cisco_ucs
%{_mandir}/man8/fence_cisco_ucs.8*
%ifarch x86_64 ppc64le
%package compute
License: GPLv2+ and LGPLv2+
Summary: Fence agent for Nova compute nodes
%if 0%{?fedora} || 0%{?centos} > 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 <oalbrigt@redhat.com> - 4.7.1-7
- fence-agents-compute: move to separate package
* Mon Mar 8 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.1-6
* Tue Mar 23 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.1-8
- cloud agents: only build for x86_64
* Thu Mar 4 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.1-5