1.1.13-2.rev7: draw the line behind legacy stonith
(Partly adopted from another spec) Signed-off-by: Jan Pokorný <jpokorny@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
21932ded90
commit
1426a243dd
@ -2,7 +2,7 @@
|
||||
%global uname hacluster
|
||||
%global pcmk_docdir %{_docdir}/%{name}
|
||||
|
||||
%global specversion 2.rev6
|
||||
%global specversion 2.rev7
|
||||
%global commit 6052cd16c2f455809f8088af76ce86483bf98353
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global github_owner ClusterLabs
|
||||
@ -19,9 +19,6 @@
|
||||
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
|
||||
# to disable or enable specific features
|
||||
|
||||
# Legacy stonithd fencing agents
|
||||
%bcond_with stonithd
|
||||
|
||||
# Build with/without support for profiling tools
|
||||
%bcond_with profiling
|
||||
|
||||
@ -93,10 +90,6 @@ BuildRequires: systemd-devel
|
||||
Requires: corosync
|
||||
BuildRequires: corosynclib-devel
|
||||
|
||||
%if %{with stonithd}
|
||||
BuildRequires: cluster-glue-libs-devel
|
||||
%endif
|
||||
|
||||
%if !%{rawhide}
|
||||
# More often than not, inkscape is busted on rawhide, don't even bother
|
||||
|
||||
@ -120,7 +113,7 @@ when related resources fail and can be configured to periodically check
|
||||
resource health.
|
||||
|
||||
Available rpmbuild rebuild options:
|
||||
--with(out) : stonithd doc coverage profiling pre_release upstart_job
|
||||
--with(out) : doc coverage profiling pre_release upstart_job
|
||||
|
||||
%package cli
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -273,6 +266,8 @@ find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
|
||||
|
||||
# Do not package these either
|
||||
rm -f %{buildroot}/%{_libdir}/service_crm.so
|
||||
rm -f %{buildroot}/%{_sbindir}/fence_legacy
|
||||
rm -f %{buildroot}/%{_mandir}/man8/fence_legacy.*
|
||||
|
||||
# Don't ship init scripts for systemd based platforms
|
||||
%if %{defined _unitdir}
|
||||
@ -359,7 +354,6 @@ exit 0
|
||||
%{_sbindir}/crm_master
|
||||
%{_sbindir}/crm_node
|
||||
%{_sbindir}/attrd_updater
|
||||
%{_sbindir}/fence_legacy
|
||||
%{_sbindir}/fence_pcmk
|
||||
%{_sbindir}/stonith_admin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user