- add aliyun subpackage
This commit is contained in:
parent
53ef56931f
commit
a73102c149
@ -9,7 +9,7 @@
|
||||
Name: fence-agents
|
||||
Summary: Set of unified programs capable of host isolation ("fencing")
|
||||
Version: 4.7.1
|
||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
||||
Release: 2%{?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
|
||||
@ -138,8 +138,7 @@ BuildRequires: python-novaclient python-keystoneclient
|
||||
#undefine __brp_python_bytecompile
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
||||
%autopatch -p1
|
||||
%autosetup -p1
|
||||
# prevent compilation of something that won't get used anyway
|
||||
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
|
||||
|
||||
@ -198,6 +197,7 @@ This package contains support files including the Python fencing library.
|
||||
%exclude %{_datadir}/fence/XenAPI.*
|
||||
%exclude %{_datadir}/fence/__pycache__/XenAPI.*
|
||||
%{_datadir}/cluster
|
||||
%exclude %{_datadir}/cluster/fence_mpath_check*
|
||||
%exclude %{_datadir}/cluster/fence_scsi_check*
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
%exclude %{_sbindir}/*
|
||||
@ -217,6 +217,22 @@ network, storage, or similar.
|
||||
This package serves as a catch-all for all supported fence agents.
|
||||
%files all
|
||||
|
||||
%ifarch x86_64
|
||||
%package aliyun
|
||||
License: GPLv2+ and LGPLv2+ and ASL 2.0 and BSD and MIT
|
||||
Group: System Environment/Base
|
||||
Summary: Fence agent for Alibaba Cloud (Aliyun)
|
||||
Requires: fence-agents-common >= %{version}-%{release}
|
||||
Requires: python3-jmespath >= 0.9.0
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
%description aliyun
|
||||
The fence-agents-aliyun package contains a fence agent for Alibaba Cloud (Aliyun) instances.
|
||||
%files aliyun
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/fence_aliyun
|
||||
%{_mandir}/man8/fence_aliyun.8*
|
||||
%endif
|
||||
|
||||
%package alom
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for SUN ALOM
|
||||
@ -1166,6 +1182,9 @@ Fence agent for IBM z/VM over IP.
|
||||
%{_mandir}/man8/fence_zvmip.8*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 11 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.1-2
|
||||
- add aliyun subpackage
|
||||
|
||||
* Mon Feb 8 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.1-1
|
||||
- new upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user