- new upstream release

This commit is contained in:
Oyvind Albrigtsen 2020-12-09 13:07:37 +01:00
parent 9734ae9452
commit b8b256311b
2 changed files with 272 additions and 29 deletions

View File

@ -8,12 +8,18 @@
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.5.2 Version: 4.7.0
Release: 4%{?alphatag:.%{alphatag}}%{?dist} Release: 1%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: https://github.com/ClusterLabs/fence-agents URL: https://github.com/ClusterLabs/fence-agents
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz
%if 0%{?rhel} == 7
%ifarch s390x
%define rhel7_s390x 1
%endif
%endif
# skipped: pve, raritan, rcd-serial, virsh # skipped: pve, raritan, rcd-serial, virsh
%global allfenceagents %(cat <<EOF %global allfenceagents %(cat <<EOF
fence-agents-alom \\ fence-agents-alom \\
@ -38,6 +44,7 @@ fence-agents-hds-cb \\
fence-agents-heuristics-ping \\ fence-agents-heuristics-ping \\
fence-agents-hpblade \\ fence-agents-hpblade \\
fence-agents-ibmblade \\ fence-agents-ibmblade \\
fence-agents-ibmz \\
fence-agents-ifmib \\ fence-agents-ifmib \\
fence-agents-ilo-moonshot \\ fence-agents-ilo-moonshot \\
fence-agents-ilo-mp \\ fence-agents-ilo-mp \\
@ -80,6 +87,15 @@ fence-agents-openstack
EOF) EOF)
%endif %endif
%if ! %{defined rhel7_s390x}
%global allfenceagents %(cat <<EOF
%{allfenceagents} \\
fence-agents-aws \\
fence-agents-gce
EOF)
%endif
# Build dependencies # Build dependencies
## general ## general
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
@ -87,16 +103,33 @@ BuildRequires: autoconf automake libtool
BuildRequires: gcc BuildRequires: gcc
## man pages generating ## man pages generating
BuildRequires: libxslt BuildRequires: libxslt
## establishing proper paths to particular programs
BuildRequires: gnutls-utils
## Python dependencies ## Python dependencies
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pexpect python3-pycurl python3-requests BuildRequires: python3-pexpect python3-pycurl python3-requests
BuildRequires: python3-suds openwsman-python3 python3-boto3 BuildRequires: python3-suds
BuildRequires: python3-google-api-client %if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
BuildRequires: python3-google-api-client python3-boto3 openwsman-python3
%endif
# (-openstack) # (-openstack)
%ifarch x86_64 ppc64le
BuildRequires: python3-novaclient python3-keystoneclient BuildRequires: python3-novaclient python3-keystoneclient
%endif
%if 0%{?suse_version}
BuildRequires: python3-google-api-python-client python3-openwsman python3-boto3
%endif
%else
BuildRequires: python-devel
BuildRequires: pexpect python-pycurl python-requests
BuildRequires: python-suds openwsman-python
%if ! %{defined rhel7_s390x}
BuildRequires: python-google-api-client python-boto3
%endif
# (-openstack)
%ifarch x86_64 ppc64le
BuildRequires: python-novaclient python-keystoneclient
%endif
%endif
# turn off the brp-python-bytecompile script # turn off the brp-python-bytecompile script
# (for F28+ or equivalent, the latter is the preferred form) # (for F28+ or equivalent, the latter is the preferred form)
@ -117,7 +150,9 @@ CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
# bytecompile Python source code in a non-standard location # bytecompile Python source code in a non-standard location
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/fence %py_byte_compile %{__python3} %{buildroot}%{_datadir}/fence
%endif
# XXX unsure if /usr/sbin/fence_* should be compiled as well # XXX unsure if /usr/sbin/fence_* should be compiled as well
## tree fix up ## tree fix up
@ -138,7 +173,11 @@ network, storage, or similar. They operate through a unified interface
%package common %package common
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Common base for Fence Agents Summary: Common base for Fence Agents
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-pexpect python3-pycurl Requires: python3-pexpect python3-pycurl
%else
Requires: pexpect python-pycurl
%endif
BuildArch: noarch BuildArch: noarch
%description common %description common
A collection of executables to handle isolation ("fencing") of possibly A collection of executables to handle isolation ("fencing") of possibly
@ -155,6 +194,7 @@ This package contains support files including the Python fencing library.
%exclude %{_datadir}/fence/__pycache__/XenAPI.* %exclude %{_datadir}/fence/__pycache__/XenAPI.*
%{_datadir}/cluster %{_datadir}/cluster
%exclude %{_datadir}/cluster/fence_scsi_check* %exclude %{_datadir}/cluster/fence_scsi_check*
%{_datadir}/pkgconfig/%{name}.pc
%exclude %{_sbindir}/* %exclude %{_sbindir}/*
%exclude %{_mandir}/man8/* %exclude %{_mandir}/man8/*
@ -164,6 +204,9 @@ Summary: Set of unified programs capable of host isolation ("fencing")
Requires: %{allfenceagents} Requires: %{allfenceagents}
Provides: fence-agents = %{version}-%{release} Provides: fence-agents = %{version}-%{release}
Obsoletes: fence-agents < 3.1.13 Obsoletes: fence-agents < 3.1.13
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel} > 7 || 0%{?suse_version}
BuildArch: noarch
%endif
%description all %description all
A collection of executables to handle isolation ("fencing") of possibly A collection of executables to handle isolation ("fencing") of possibly
misbehaving hosts by the means of remote power management, blocking misbehaving hosts by the means of remote power management, blocking
@ -175,7 +218,14 @@ This package serves as a catch-all for all supported fence agents.
%package alom %package alom
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for SUN ALOM Summary: Fence agent for SUN ALOM
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description alom %description alom
@ -201,7 +251,16 @@ Fence agent for AMT compatibile devices that are accessed via
License: ASL 2.0 License: ASL 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} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
Requires: openwsman-python3 Requires: openwsman-python3
%endif
%if 0%{?suse_version}
Requires: python3-openwsman
%endif
%else
Requires: openwsman-python
%endif
BuildArch: noarch BuildArch: noarch
%description amt-ws %description amt-ws
Fence agent for AMT (WS-Man) devices. Fence agent for AMT (WS-Man) devices.
@ -212,7 +271,14 @@ Fence agent for AMT (WS-Man) devices.
%package apc %package apc
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for APC devices Summary: Fence agent for APC devices
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description apc %description apc
@ -235,38 +301,57 @@ Fence agents for APC devices that are accessed via the SNMP protocol.
%{_sbindir}/fence_tripplite_snmp %{_sbindir}/fence_tripplite_snmp
%{_mandir}/man8/fence_tripplite_snmp.8* %{_mandir}/man8/fence_tripplite_snmp.8*
%if ! %{defined rhel7_s390x}
%package aws %package aws
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Amazon AWS Summary: Fence agent for Amazon AWS
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-boto3 Requires: python3-boto3
%else
Requires: python-boto3
%endif
BuildArch: noarch BuildArch: noarch
Obsoletes: fence-agents Obsoletes: fence-agents < 3.1.13
%description aws %description aws
Fence agent for Amazon AWS instances. Fence agent for Amazon AWS instances.
%files aws %files aws
%{_sbindir}/fence_aws %{_sbindir}/fence_aws
%{_mandir}/man8/fence_aws.8* %{_mandir}/man8/fence_aws.8*
%endif
%package azure-arm %package azure-arm
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Azure Resource Manager Summary: Fence agent for Azure Resource Manager
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-azure-sdk Requires: python3-azure-sdk
%else
Requires: python-azure-sdk
%endif
BuildArch: noarch BuildArch: noarch
Obsoletes: fence-agents Obsoletes: fence-agents < 3.1.13
%description azure-arm %description azure-arm
Fence agent for Azure Resource Manager instances. Fence agent for Azure Resource Manager instances.
%files azure-arm %files azure-arm
%{_sbindir}/fence_azure_arm %{_sbindir}/fence_azure_arm
%{_datadir}/fence/azure_fence.py* %{_datadir}/fence/azure_fence.py*
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
%{_datadir}/fence/__pycache__/azure_fence.* %{_datadir}/fence/__pycache__/azure_fence.*
%endif
%{_mandir}/man8/fence_azure_arm.8* %{_mandir}/man8/fence_azure_arm.8*
%package bladecenter %package bladecenter
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for IBM BladeCenter Summary: Fence agent for IBM BladeCenter
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description bladecenter %description bladecenter
@ -279,7 +364,14 @@ via telnet or SSH.
%package brocade %package brocade
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Brocade switches Summary: Fence agent for Brocade switches
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description brocade %description brocade
@ -304,7 +396,11 @@ via the SNMP protocol.
%package cisco-ucs %package cisco-ucs
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Cisco UCS series Summary: Fence agent for Cisco UCS series
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-pycurl Requires: python3-pycurl
%else
Requires: python-pycurl
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description cisco-ucs %description cisco-ucs
@ -314,10 +410,17 @@ via the SNMP protocol.
%{_sbindir}/fence_cisco_ucs %{_sbindir}/fence_cisco_ucs
%{_mandir}/man8/fence_cisco_ucs.8* %{_mandir}/man8/fence_cisco_ucs.8*
%ifarch x86_64 ppc64le
%package compute %package compute
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Nova compute nodes Summary: Fence agent for Nova compute nodes
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-requests Requires: python3-requests
Requires: python3-novaclient
%else
Requires: python-requests
Requires: python2-novaclient
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description compute %description compute
@ -327,11 +430,16 @@ Fence agent for Nova compute nodes.
%{_sbindir}/fence_evacuate %{_sbindir}/fence_evacuate
%{_mandir}/man8/fence_compute.8* %{_mandir}/man8/fence_compute.8*
%{_mandir}/man8/fence_evacuate.8* %{_mandir}/man8/fence_evacuate.8*
%endif
%package docker %package docker
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Docker Summary: Fence agent for Docker
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-pycurl Requires: python3-pycurl
%else
Requires: python-pycurl
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description docker %description docker
@ -356,7 +464,14 @@ via telnet.
%package drac5 %package drac5
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Dell DRAC 5 Summary: Fence agent for Dell DRAC 5
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description drac5 %description drac5
@ -403,18 +518,29 @@ via the HTTP(s) protocol.
%{_sbindir}/fence_eps %{_sbindir}/fence_eps
%{_mandir}/man8/fence_eps.8* %{_mandir}/man8/fence_eps.8*
%if ! %{defined rhel7_s390x}
%package gce %package gce
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for GCE (Google Cloud Engine) Summary: Fence agent for GCE (Google Cloud Engine)
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
Requires: python3-google-api-client Requires: python3-google-api-client
%endif
%if 0%{?suse_version}
Requires: python3-google-api-python-client
%endif
%else
Requires: python-google-api-client
%endif
BuildArch: noarch BuildArch: noarch
Obsoletes: fence-agents Obsoletes: fence-agents < 3.1.13
%description gce %description gce
Fence agent for GCE (Google Cloud Engine) instances. Fence agent for GCE (Google Cloud Engine) instances.
%files gce %files gce
%{_sbindir}/fence_gce %{_sbindir}/fence_gce
%{_mandir}/man8/fence_gce.8* %{_mandir}/man8/fence_gce.8*
%endif
%package hds-cb %package hds-cb
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
@ -433,7 +559,7 @@ License: GPLv2+ and LGPLv2+
Summary: Pseudo fence agent to affect other agents based on ping-heuristics Summary: Pseudo fence agent to affect other agents based on ping-heuristics
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
Obsoletes: fence-agents Obsoletes: fence-agents < 3.1.13
%description heuristics-ping %description heuristics-ping
Fence pseudo agent used to affect other agents based on Fence pseudo agent used to affect other agents based on
ping-heuristics. ping-heuristics.
@ -444,7 +570,14 @@ ping-heuristics.
%package hpblade %package hpblade
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for HP BladeSystem devices Summary: Fence agent for HP BladeSystem devices
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description hpblade %description hpblade
@ -467,6 +600,23 @@ via the SNMP protocol.
%{_sbindir}/fence_ibmblade %{_sbindir}/fence_ibmblade
%{_mandir}/man8/fence_ibmblade.8* %{_mandir}/man8/fence_ibmblade.8*
%package ibmz
License: GPLv2+ and LGPLv2+
Summary: Fence agent for IBM z LPARs
%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 ibmz
Fence agent for IBM z LPARs that are accessed via the HMC
Web Services REST API.
%files ibmz
%{_sbindir}/fence_ibmz
%{_mandir}/man8/fence_ibmz.8*
%package ifmib %package ifmib
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for devices with IF-MIB interfaces Summary: Fence agent for devices with IF-MIB interfaces
@ -498,7 +648,14 @@ the HTTP(s) protocol.
%package ilo-moonshot %package ilo-moonshot
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for HP iLO Moonshot devices Summary: Fence agent for HP iLO Moonshot devices
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description ilo-moonshot %description ilo-moonshot
@ -511,7 +668,14 @@ via telnet or SSH.
%package ilo-mp %package ilo-mp
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for HP iLO MP devices Summary: Fence agent for HP iLO MP devices
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description ilo-mp %description ilo-mp
@ -586,6 +750,7 @@ Fence agents for devices with IPMI interface.
%{_sbindir}/fence_imm %{_sbindir}/fence_imm
%{_mandir}/man8/fence_imm.8* %{_mandir}/man8/fence_imm.8*
%ifarch x86_64 ppc64le
%package ironic %package ironic
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for OpenStack's Ironic (Bare Metal as a service) Summary: Fence agent for OpenStack's Ironic (Bare Metal as a service)
@ -596,6 +761,7 @@ Fence agent for OpenStack's Ironic (Bare Metal as a service) service.
%files ironic %files ironic
%{_sbindir}/fence_ironic %{_sbindir}/fence_ironic
%{_mandir}/man8/fence_ironic.8* %{_mandir}/man8/fence_ironic.8*
%endif
%package kdump %package kdump
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
@ -613,7 +779,14 @@ Fence agent for use with kdump crash recovery service.
%package ldom %package ldom
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Sun LDom virtual machines Summary: Fence agent for Sun LDom virtual machines
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description ldom %description ldom
@ -625,7 +798,14 @@ Fence agent for APC devices that are accessed via telnet or SSH.
%package lpar %package lpar
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for IBM LPAR Summary: Fence agent for IBM LPAR
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description lpar %description lpar
@ -650,7 +830,14 @@ Device Mapper Multipath.
%package netio %package netio
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Koukaam NETIO devices Summary: Fence agent for Koukaam NETIO devices
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description netio %description netio
@ -660,10 +847,15 @@ via telnet or SSH.
%{_sbindir}/fence_netio %{_sbindir}/fence_netio
%{_mandir}/man8/fence_netio.8* %{_mandir}/man8/fence_netio.8*
%ifarch x86_64 ppc64le
%package openstack %package openstack
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for OpenStack's Nova service Summary: Fence agent for OpenStack's Nova service
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-requests Requires: python3-requests
%else
Requires: python-requests
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description openstack %description openstack
@ -671,11 +863,16 @@ Fence agent for OpenStack's Nova service.
%files openstack %files openstack
%{_sbindir}/fence_openstack %{_sbindir}/fence_openstack
%{_mandir}/man8/fence_openstack.8* %{_mandir}/man8/fence_openstack.8*
%endif
%package ovh %package ovh
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for OVH provider Summary: Fence agent for OVH provider
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-suds Requires: python3-suds
%else
Requires: python-suds
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description ovh %description ovh
@ -688,7 +885,11 @@ Fence agent for OVH hosting provider.
%package pve %package pve
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for PVE Summary: Fence agent for PVE
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-pycurl Requires: python3-pycurl
%else
Requires: python-pycurl
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description pve %description pve
@ -726,8 +927,12 @@ License: GPLv2+ and LGPLv2+
Group: System Environment/Base Group: System Environment/Base
Summary: Fence agent for Redfish Summary: Fence agent for Redfish
Requires: fence-agents-common >= %{version}-%{release} Requires: fence-agents-common >= %{version}-%{release}
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-requests Requires: python3-requests
Obsoletes: fence-agents %else
Requires: python-requests
%endif
Obsoletes: fence-agents < 3.1.13
%description redfish %description redfish
The fence-agents-redfish package contains a fence agent for Redfish The fence-agents-redfish package contains a fence agent for Redfish
%files redfish %files redfish
@ -749,7 +954,14 @@ Fence agent for RHEV-M via REST API.
%package rsa %package rsa
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for IBM RSA II Summary: Fence agent for IBM RSA II
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description rsa %description rsa
@ -762,7 +974,14 @@ via telnet or SSH.
%package rsb %package rsb
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Fujitsu RSB Summary: Fence agent for Fujitsu RSB
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description rsb %description rsb
@ -838,7 +1057,11 @@ Fence agent for virtual machines that are accessed via SSH.
%package vmware %package vmware
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for VMWare with VI Perl Toolkit or vmrun Summary: Fence agent for VMWare with VI Perl Toolkit or vmrun
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-pexpect Requires: python3-pexpect
%else
Requires: pexpect
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description vmware %description vmware
@ -852,7 +1075,7 @@ License: GPLv2+ and LGPLv2+
Summary: Fence agent for VMWare with REST API Summary: Fence agent for VMWare with REST API
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
Obsoletes: fence-agents Obsoletes: fence-agents < 3.1.13
%description vmware-rest %description vmware-rest
Fence agent for VMWare with REST API. Fence agent for VMWare with REST API.
%files vmware-rest %files vmware-rest
@ -862,7 +1085,11 @@ Fence agent for VMWare with REST API.
%package vmware-soap %package vmware-soap
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for VMWare with SOAP API v4.1+ Summary: Fence agent for VMWare with SOAP API v4.1+
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-suds Requires: python3-suds
%else
Requires: python-suds
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description vmware-soap %description vmware-soap
@ -876,7 +1103,7 @@ License: GPLv2+ and LGPLv2+
Summary: Fence agent for VMWare vCloud Director Summary: Fence agent for VMWare vCloud Director
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
Obsoletes: fence-agents Obsoletes: fence-agents < 3.1.13
%description vmware-vcloud %description vmware-vcloud
Fence agent for VMWare vCloud Director. Fence agent for VMWare vCloud Director.
%files vmware-vcloud %files vmware-vcloud
@ -886,7 +1113,14 @@ Fence agent for VMWare vCloud Director.
%package wti %package wti
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for WTI Network power switches Summary: Fence agent for WTI Network power switches
Requires: telnet openssh-clients Requires: openssh-clients
%if 0%{?fedora} < 33 || (0%{?rhel} && 0%{?rhel} < 9) || (0%{?centos} && 0%{?centos} < 9) || 0%{?suse_version}
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?centos} && 0%{?centos} < 8)
Requires: telnet
%else
Recommends: telnet
%endif
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description wti %description wti
@ -899,7 +1133,11 @@ via telnet or SSH.
%package xenapi %package xenapi
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Summary: Fence agent for Citrix XenServer over XenAPI Summary: Fence agent for Citrix XenServer over XenAPI
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
Requires: python3-pexpect Requires: python3-pexpect
%else
Requires: pexpect
%endif
Requires: fence-agents-common = %{version}-%{release} Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description xenapi %description xenapi
@ -907,7 +1145,9 @@ Fence agent for Citrix XenServer accessed over XenAPI.
%files xenapi %files xenapi
%{_sbindir}/fence_xenapi %{_sbindir}/fence_xenapi
%{_datadir}/fence/XenAPI.py* %{_datadir}/fence/XenAPI.py*
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
%{_datadir}/fence/__pycache__/XenAPI.* %{_datadir}/fence/__pycache__/XenAPI.*
%endif
%{_mandir}/man8/fence_xenapi.8* %{_mandir}/man8/fence_xenapi.8*
%package zvm %package zvm
@ -922,6 +1162,9 @@ Fence agent for IBM z/VM over IP.
%{_mandir}/man8/fence_zvmip.8* %{_mandir}/man8/fence_zvmip.8*
%changelog %changelog
* Wed Dec 9 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.0-1
- new upstream release
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.2-4 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.2-4
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (fence-agents-4.5.2.tar.gz) = 2496be44e2820a48e76cd8ce2a859fae6e88fad27dfbfbcf82e9c0f5ccbbf75259f3bc76ba0e9309fb8949edea31fd1a8cf8453ed910b40c2eb2e799320ad84b SHA512 (fence-agents-4.7.0.tar.gz) = f6bd36806c8c89a5aebb9771087f1bdb6436e4a2668527f3492b5f3671705a6b6cfa7f7ab229766bcf10edc019dcf953f808d410a5f098f699f47a6c6b1804da