- order agent subpackages properly

Also note which packages are intentionally skipped from getting grabbed
with fence-agents-all.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
Jan Pokorný 2018-08-14 19:16:23 +02:00
parent b15242baef
commit 4142d4696b
No known key found for this signature in database
GPG Key ID: 61BBB23A9E8F8DE2

View File

@ -24,6 +24,7 @@ Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.t
Patch0: fence_vmware_soap-fix-python-3-suds-issue.patch
%if 0%{?fedora} || 0%{?rhel} > 7
# skipped: pve, raritan, rcd-serial, virsh
%global allfenceagents %(cat <<EOF
fence-agents-alom \\
fence-agents-amt \\
@ -188,6 +189,33 @@ Fence agent for SUN ALOM.
%{_mandir}/man8/fence_alom.8*
%endif
%package amt
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for Intel AMT devices
Requires: amtterm
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description amt
Fence agent for AMT compatibile devices that are accessed via
3rd party software.
%files amt
%{_sbindir}/fence_amt
%{_mandir}/man8/fence_amt.8*
%package amt-ws
License: ASL 2.0
Group: System Environment/Base
Summary: Fence agent for Intel AMT (WS-Man) devices
Requires: fence-agents-common >= %{version}-%{release}
Requires: openwsman-python3
BuildArch: noarch
%description amt-ws
Fence agent for AMT (WS-Man) devices.
%files amt-ws
%{_sbindir}/fence_amt_ws
%{_mandir}/man8/fence_amt_ws.8*
%package apc
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -216,33 +244,6 @@ Fence agents for APC devices that are accessed via the SNMP protocol.
%{_sbindir}/fence_tripplite_snmp
%{_mandir}/man8/fence_tripplite_snmp.8*
%package amt
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for Intel AMT devices
Requires: amtterm
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description amt
Fence agent for AMT compatibile devices that are accessed via
3rd party software.
%files amt
%{_sbindir}/fence_amt
%{_mandir}/man8/fence_amt.8*
%package amt-ws
License: ASL 2.0
Group: System Environment/Base
Summary: Fence agent for Intel AMT (WS-Man) devices
Requires: fence-agents-common >= %{version}-%{release}
Requires: openwsman-python3
BuildArch: noarch
%description amt-ws
Fence agent for AMT (WS-Man) devices.
%files amt-ws
%{_sbindir}/fence_amt_ws
%{_mandir}/man8/fence_amt_ws.8*
%package aws
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -442,6 +443,21 @@ Fence agent for GCE (Google Cloud Engine) instances.
%{_mandir}/man8/fence_gce.8*
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
%package hds-cb
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for Hitachi Compute Blade systems
Requires: telnet
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description hds-cb
Fence agent for Hitachi Compute Blades that are accessed via telnet.
%files hds-cb
%{_sbindir}/fence_hds_cb
%{_mandir}/man8/fence_hds_cb.8*
%endif
%package heuristics-ping
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -470,21 +486,6 @@ or SSH.
%{_sbindir}/fence_hpblade
%{_mandir}/man8/fence_hpblade.8*
%if 0%{?fedora} || 0%{?rhel} > 7
%package hds-cb
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for Hitachi Compute Blade systems
Requires: telnet
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description hds-cb
Fence agent for Hitachi Compute Blades that are accessed via telnet.
%files hds-cb
%{_sbindir}/fence_hds_cb
%{_mandir}/man8/fence_hds_cb.8*
%endif
%package ibmblade
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -513,35 +514,6 @@ the SNMP protocol.
%{_sbindir}/fence_ifmib
%{_mandir}/man8/fence_ifmib.8*
%package ilo2
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agents for HP iLO2 devices
Requires: gnutls-utils
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description ilo2
Fence agents for HP iLO2 devices that are accessed via
the HTTP(s) protocol.
%files ilo2
%{_sbindir}/fence_ilo
%{_sbindir}/fence_ilo2
%{_mandir}/man8/fence_ilo.8*
%{_mandir}/man8/fence_ilo2.8*
%package ilo-mp
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for HP iLO MP devices
Requires: telnet openssh-clients
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description ilo-mp
Fence agent for HP iLO MP devices that are accessed via telnet or SSH.
%files ilo-mp
%{_sbindir}/fence_ilo_mp
%{_mandir}/man8/fence_ilo_mp.8*
%package ilo-moonshot
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -556,6 +528,19 @@ via telnet or SSH.
%{_sbindir}/fence_ilo_moonshot
%{_mandir}/man8/fence_ilo_moonshot.8*
%package ilo-mp
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for HP iLO MP devices
Requires: telnet openssh-clients
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description ilo-mp
Fence agent for HP iLO MP devices that are accessed via telnet or SSH.
%files ilo-mp
%{_sbindir}/fence_ilo_mp
%{_mandir}/man8/fence_ilo_mp.8*
%package ilo-ssh
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -573,6 +558,22 @@ Fence agents for HP iLO devices that are accessed via telnet or SSH.
%{_sbindir}/fence_ilo4_ssh
%{_mandir}/man8/fence_ilo4_ssh.8*
%package ilo2
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agents for HP iLO2 devices
Requires: gnutls-utils
Requires: fence-agents-common = %{version}-%{release}
BuildArch: noarch
%description ilo2
Fence agents for HP iLO2 devices that are accessed via
the HTTP(s) protocol.
%files ilo2
%{_sbindir}/fence_ilo
%{_sbindir}/fence_ilo2
%{_mandir}/man8/fence_ilo.8*
%{_mandir}/man8/fence_ilo2.8*
%package intelmodular
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -726,6 +727,7 @@ Fence agent for OVH hosting provider.
%{_mandir}/man8/fence_ovh.8*
%endif
# skipped from allfenceagents
%if 0%{?fedora} || 0%{?rhel} > 7
%package pve
License: GPLv2+ and LGPLv2+
@ -741,6 +743,7 @@ Fence agent for PVE.
%{_mandir}/man8/fence_pve.8*
%endif
# skipped from allfenceagents
%package raritan
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -753,6 +756,7 @@ Fence agent for Raritan Dominion PX.
%{_sbindir}/fence_raritan
%{_mandir}/man8/fence_raritan.8*
# skipped from allfenceagents
%package rcd-serial
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -866,6 +870,7 @@ Fence agent for VirtualBox dom0 accessed via SSH.
%{_mandir}/man8/fence_vbox.8*
%endif
# skipped from allfenceagents
%package virsh
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@ -985,7 +990,7 @@ Fence agent for IBM z/VM over IP.
#- sanitize BuildRequires with respect to packaging guidelines
#- bytecompile native Python modules and ship these bytecodes properly
#- only refer to Python binary symbolically, drop buildroot cleanup
#- cleanup package summaries/descriptions
#- cleanup package summaries/descriptions, order agent subpackages properly
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild