- add aliyun subpackage
This commit is contained in:
parent
53ef56931f
commit
a73102c149
@ -9,7 +9,7 @@
|
|||||||
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.7.1
|
Version: 4.7.1
|
||||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 2%{?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
|
||||||
@ -138,8 +138,7 @@ BuildRequires: python-novaclient python-keystoneclient
|
|||||||
#undefine __brp_python_bytecompile
|
#undefine __brp_python_bytecompile
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
%autosetup -p1
|
||||||
%autopatch -p1
|
|
||||||
# prevent compilation of something that won't get used anyway
|
# prevent compilation of something that won't get used anyway
|
||||||
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
|
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/XenAPI.*
|
||||||
%exclude %{_datadir}/fence/__pycache__/XenAPI.*
|
%exclude %{_datadir}/fence/__pycache__/XenAPI.*
|
||||||
%{_datadir}/cluster
|
%{_datadir}/cluster
|
||||||
|
%exclude %{_datadir}/cluster/fence_mpath_check*
|
||||||
%exclude %{_datadir}/cluster/fence_scsi_check*
|
%exclude %{_datadir}/cluster/fence_scsi_check*
|
||||||
%{_datadir}/pkgconfig/%{name}.pc
|
%{_datadir}/pkgconfig/%{name}.pc
|
||||||
%exclude %{_sbindir}/*
|
%exclude %{_sbindir}/*
|
||||||
@ -217,6 +217,22 @@ network, storage, or similar.
|
|||||||
This package serves as a catch-all for all supported fence agents.
|
This package serves as a catch-all for all supported fence agents.
|
||||||
%files all
|
%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
|
%package alom
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Summary: Fence agent for SUN ALOM
|
Summary: Fence agent for SUN ALOM
|
||||||
@ -1166,6 +1182,9 @@ Fence agent for IBM z/VM over IP.
|
|||||||
%{_mandir}/man8/fence_zvmip.8*
|
%{_mandir}/man8/fence_zvmip.8*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 8 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.1-1
|
||||||
- new upstream release
|
- new upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user