- new upstream release
This commit is contained in:
parent
9734ae9452
commit
b8b256311b
@ -8,12 +8,18 @@
|
||||
|
||||
Name: fence-agents
|
||||
Summary: Set of unified programs capable of host isolation ("fencing")
|
||||
Version: 4.5.2
|
||||
Release: 4%{?alphatag:.%{alphatag}}%{?dist}
|
||||
Version: 4.7.0
|
||||
Release: 1%{?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
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
%ifarch s390x
|
||||
%define rhel7_s390x 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# skipped: pve, raritan, rcd-serial, virsh
|
||||
%global allfenceagents %(cat <<EOF
|
||||
fence-agents-alom \\
|
||||
@ -38,6 +44,7 @@ fence-agents-hds-cb \\
|
||||
fence-agents-heuristics-ping \\
|
||||
fence-agents-hpblade \\
|
||||
fence-agents-ibmblade \\
|
||||
fence-agents-ibmz \\
|
||||
fence-agents-ifmib \\
|
||||
fence-agents-ilo-moonshot \\
|
||||
fence-agents-ilo-mp \\
|
||||
@ -80,6 +87,15 @@ fence-agents-openstack
|
||||
EOF)
|
||||
%endif
|
||||
|
||||
%if ! %{defined rhel7_s390x}
|
||||
%global allfenceagents %(cat <<EOF
|
||||
%{allfenceagents} \\
|
||||
fence-agents-aws \\
|
||||
fence-agents-gce
|
||||
|
||||
EOF)
|
||||
%endif
|
||||
|
||||
# Build dependencies
|
||||
## general
|
||||
BuildRequires: autoconf automake libtool
|
||||
@ -87,16 +103,33 @@ BuildRequires: autoconf automake libtool
|
||||
BuildRequires: gcc
|
||||
## man pages generating
|
||||
BuildRequires: libxslt
|
||||
## establishing proper paths to particular programs
|
||||
BuildRequires: gnutls-utils
|
||||
## Python dependencies
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pexpect python3-pycurl python3-requests
|
||||
BuildRequires: python3-suds openwsman-python3 python3-boto3
|
||||
BuildRequires: python3-google-api-client
|
||||
|
||||
BuildRequires: python3-suds
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
|
||||
BuildRequires: python3-google-api-client python3-boto3 openwsman-python3
|
||||
%endif
|
||||
# (-openstack)
|
||||
%ifarch x86_64 ppc64le
|
||||
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
|
||||
# (for F28+ or equivalent, the latter is the preferred form)
|
||||
@ -117,7 +150,9 @@ CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
# 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
|
||||
%endif
|
||||
# XXX unsure if /usr/sbin/fence_* should be compiled as well
|
||||
|
||||
## tree fix up
|
||||
@ -138,7 +173,11 @@ network, storage, or similar. They operate through a unified interface
|
||||
%package common
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Common base for Fence Agents
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-pexpect python3-pycurl
|
||||
%else
|
||||
Requires: pexpect python-pycurl
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%description common
|
||||
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.*
|
||||
%{_datadir}/cluster
|
||||
%exclude %{_datadir}/cluster/fence_scsi_check*
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
%exclude %{_sbindir}/*
|
||||
%exclude %{_mandir}/man8/*
|
||||
|
||||
@ -164,6 +204,9 @@ Summary: Set of unified programs capable of host isolation ("fencing")
|
||||
Requires: %{allfenceagents}
|
||||
Provides: fence-agents = %{version}-%{release}
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%description all
|
||||
A collection of executables to handle isolation ("fencing") of possibly
|
||||
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
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description alom
|
||||
@ -201,7 +251,16 @@ Fence agent for AMT compatibile devices that are accessed via
|
||||
License: ASL 2.0
|
||||
Summary: Fence agent for Intel AMT (WS-Man) devices
|
||||
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
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: python3-openwsman
|
||||
%endif
|
||||
%else
|
||||
Requires: openwsman-python
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%description amt-ws
|
||||
Fence agent for AMT (WS-Man) devices.
|
||||
@ -212,7 +271,14 @@ Fence agent for AMT (WS-Man) devices.
|
||||
%package apc
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description apc
|
||||
@ -235,38 +301,57 @@ Fence agents for APC devices that are accessed via the SNMP protocol.
|
||||
%{_sbindir}/fence_tripplite_snmp
|
||||
%{_mandir}/man8/fence_tripplite_snmp.8*
|
||||
|
||||
%if ! %{defined rhel7_s390x}
|
||||
%package aws
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for Amazon AWS
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-boto3
|
||||
%else
|
||||
Requires: python-boto3
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Obsoletes: fence-agents
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description aws
|
||||
Fence agent for Amazon AWS instances.
|
||||
%files aws
|
||||
%{_sbindir}/fence_aws
|
||||
%{_mandir}/man8/fence_aws.8*
|
||||
%endif
|
||||
|
||||
%package azure-arm
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for Azure Resource Manager
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-azure-sdk
|
||||
%else
|
||||
Requires: python-azure-sdk
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Obsoletes: fence-agents
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description azure-arm
|
||||
Fence agent for Azure Resource Manager instances.
|
||||
%files azure-arm
|
||||
%{_sbindir}/fence_azure_arm
|
||||
%{_datadir}/fence/azure_fence.py*
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
|
||||
%{_datadir}/fence/__pycache__/azure_fence.*
|
||||
%endif
|
||||
%{_mandir}/man8/fence_azure_arm.8*
|
||||
|
||||
%package bladecenter
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description bladecenter
|
||||
@ -279,7 +364,14 @@ via telnet or SSH.
|
||||
%package brocade
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description brocade
|
||||
@ -304,7 +396,11 @@ via the SNMP protocol.
|
||||
%package cisco-ucs
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for Cisco UCS series
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-pycurl
|
||||
%else
|
||||
Requires: python-pycurl
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description cisco-ucs
|
||||
@ -314,10 +410,17 @@ 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
|
||||
Requires: python3-novaclient
|
||||
%else
|
||||
Requires: python-requests
|
||||
Requires: python2-novaclient
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description compute
|
||||
@ -327,11 +430,16 @@ Fence agent for Nova compute nodes.
|
||||
%{_sbindir}/fence_evacuate
|
||||
%{_mandir}/man8/fence_compute.8*
|
||||
%{_mandir}/man8/fence_evacuate.8*
|
||||
%endif
|
||||
|
||||
%package docker
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for Docker
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-pycurl
|
||||
%else
|
||||
Requires: python-pycurl
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description docker
|
||||
@ -356,7 +464,14 @@ via telnet.
|
||||
%package drac5
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description drac5
|
||||
@ -403,18 +518,29 @@ via the HTTP(s) protocol.
|
||||
%{_sbindir}/fence_eps
|
||||
%{_mandir}/man8/fence_eps.8*
|
||||
|
||||
%if ! %{defined rhel7_s390x}
|
||||
%package gce
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for GCE (Google Cloud Engine)
|
||||
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
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: python3-google-api-python-client
|
||||
%endif
|
||||
%else
|
||||
Requires: python-google-api-client
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Obsoletes: fence-agents
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description gce
|
||||
Fence agent for GCE (Google Cloud Engine) instances.
|
||||
%files gce
|
||||
%{_sbindir}/fence_gce
|
||||
%{_mandir}/man8/fence_gce.8*
|
||||
%endif
|
||||
|
||||
%package hds-cb
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -433,7 +559,7 @@ License: GPLv2+ and LGPLv2+
|
||||
Summary: Pseudo fence agent to affect other agents based on ping-heuristics
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
Obsoletes: fence-agents
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description heuristics-ping
|
||||
Fence pseudo agent used to affect other agents based on
|
||||
ping-heuristics.
|
||||
@ -444,7 +570,14 @@ ping-heuristics.
|
||||
%package hpblade
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description hpblade
|
||||
@ -467,6 +600,23 @@ via the SNMP protocol.
|
||||
%{_sbindir}/fence_ibmblade
|
||||
%{_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
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for devices with IF-MIB interfaces
|
||||
@ -498,7 +648,14 @@ the HTTP(s) protocol.
|
||||
%package ilo-moonshot
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description ilo-moonshot
|
||||
@ -511,7 +668,14 @@ via telnet or SSH.
|
||||
%package ilo-mp
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description ilo-mp
|
||||
@ -586,6 +750,7 @@ Fence agents for devices with IPMI interface.
|
||||
%{_sbindir}/fence_imm
|
||||
%{_mandir}/man8/fence_imm.8*
|
||||
|
||||
%ifarch x86_64 ppc64le
|
||||
%package ironic
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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
|
||||
%{_sbindir}/fence_ironic
|
||||
%{_mandir}/man8/fence_ironic.8*
|
||||
%endif
|
||||
|
||||
%package kdump
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -613,7 +779,14 @@ Fence agent for use with kdump crash recovery service.
|
||||
%package ldom
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description ldom
|
||||
@ -625,7 +798,14 @@ Fence agent for APC devices that are accessed via telnet or SSH.
|
||||
%package lpar
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description lpar
|
||||
@ -650,7 +830,14 @@ Device Mapper Multipath.
|
||||
%package netio
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description netio
|
||||
@ -660,10 +847,15 @@ via telnet or SSH.
|
||||
%{_sbindir}/fence_netio
|
||||
%{_mandir}/man8/fence_netio.8*
|
||||
|
||||
%ifarch x86_64 ppc64le
|
||||
%package openstack
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for OpenStack's Nova service
|
||||
%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 openstack
|
||||
@ -671,11 +863,16 @@ Fence agent for OpenStack's Nova service.
|
||||
%files openstack
|
||||
%{_sbindir}/fence_openstack
|
||||
%{_mandir}/man8/fence_openstack.8*
|
||||
%endif
|
||||
|
||||
%package ovh
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for OVH provider
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-suds
|
||||
%else
|
||||
Requires: python-suds
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description ovh
|
||||
@ -688,7 +885,11 @@ Fence agent for OVH hosting provider.
|
||||
%package pve
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for PVE
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-pycurl
|
||||
%else
|
||||
Requires: python-pycurl
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description pve
|
||||
@ -726,8 +927,12 @@ License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Base
|
||||
Summary: Fence agent for Redfish
|
||||
Requires: fence-agents-common >= %{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-requests
|
||||
Obsoletes: fence-agents
|
||||
%else
|
||||
Requires: python-requests
|
||||
%endif
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description redfish
|
||||
The fence-agents-redfish package contains a fence agent for Redfish
|
||||
%files redfish
|
||||
@ -749,7 +954,14 @@ Fence agent for RHEV-M via REST API.
|
||||
%package rsa
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description rsa
|
||||
@ -762,7 +974,14 @@ via telnet or SSH.
|
||||
%package rsb
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description rsb
|
||||
@ -838,7 +1057,11 @@ Fence agent for virtual machines that are accessed via SSH.
|
||||
%package vmware
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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
|
||||
%else
|
||||
Requires: pexpect
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description vmware
|
||||
@ -852,7 +1075,7 @@ License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for VMWare with REST API
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
Obsoletes: fence-agents
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description vmware-rest
|
||||
Fence agent for VMWare with REST API.
|
||||
%files vmware-rest
|
||||
@ -862,7 +1085,11 @@ Fence agent for VMWare with REST API.
|
||||
%package vmware-soap
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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
|
||||
%else
|
||||
Requires: python-suds
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description vmware-soap
|
||||
@ -876,7 +1103,7 @@ License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for VMWare vCloud Director
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
Obsoletes: fence-agents
|
||||
Obsoletes: fence-agents < 3.1.13
|
||||
%description vmware-vcloud
|
||||
Fence agent for VMWare vCloud Director.
|
||||
%files vmware-vcloud
|
||||
@ -886,7 +1113,14 @@ Fence agent for VMWare vCloud Director.
|
||||
%package wti
|
||||
License: GPLv2+ and LGPLv2+
|
||||
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}
|
||||
BuildArch: noarch
|
||||
%description wti
|
||||
@ -899,7 +1133,11 @@ via telnet or SSH.
|
||||
%package xenapi
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for Citrix XenServer over XenAPI
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-pexpect
|
||||
%else
|
||||
Requires: pexpect
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description xenapi
|
||||
@ -907,7 +1145,9 @@ Fence agent for Citrix XenServer accessed over XenAPI.
|
||||
%files xenapi
|
||||
%{_sbindir}/fence_xenapi
|
||||
%{_datadir}/fence/XenAPI.py*
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7
|
||||
%{_datadir}/fence/__pycache__/XenAPI.*
|
||||
%endif
|
||||
%{_mandir}/man8/fence_xenapi.8*
|
||||
|
||||
%package zvm
|
||||
@ -922,6 +1162,9 @@ Fence agent for IBM z/VM over IP.
|
||||
%{_mandir}/man8/fence_zvmip.8*
|
||||
|
||||
%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
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (fence-agents-4.5.2.tar.gz) = 2496be44e2820a48e76cd8ce2a859fae6e88fad27dfbfbcf82e9c0f5ccbbf75259f3bc76ba0e9309fb8949edea31fd1a8cf8453ed910b40c2eb2e799320ad84b
|
||||
SHA512 (fence-agents-4.7.0.tar.gz) = f6bd36806c8c89a5aebb9771087f1bdb6436e4a2668527f3492b5f3671705a6b6cfa7f7ab229766bcf10edc019dcf953f808d410a5f098f699f47a6c6b1804da
|
||||
|
Loading…
Reference in New Issue
Block a user