- Add provides to identify support level for tickets (bnc#752241)

- Resolve coverity RESOURCE_LEAK, REVERSE_INULL and UNREACHABLE defects 

- Tools: crm_simulate - Support to grant/revoke/standby/activate
  tickets from the new ticket state section (bnc#752241)

- Tools: Add crm_ticket to be profiled by valgrind
- Tools: crm_ticket - Display the tickets that are referenced in
  rsc_ticket constraints but have never been granted yet (bnc#752241)
- Tools: crm_mon - Support to display tickets (bnc#752242)

- PE: Move the ticket state section to
  "/cib/status/tickets/ticket_state" (bnc#752241)
- PE: Support to make tickets standby for relinquishing tickets
  gracefully (bnc#752241)
- Tools: Implement a new crm_ticket (bnc#752241)
- Tools: Update CLI regression tests for the new crm_ticket
- Tools: Add CLI regression tests for ticket standby state
- PE: Update regression tests for the new ticket state section
- PE: Support to make tickets standby for relinquishing tickets
  gracefully (regression tests)

- Tools: crm_ticket - Granting/revoking tickets need user to confirm
  unless "--force" option is used (bnc#752269)

- Tools: Implement the support of granting/revoking tickets for
  crm_simulate (bnc#752241)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=34
This commit is contained in:
2012-04-23 11:15:16 +00:00
committed by Git OBS Bridge
parent ed572b5913
commit 1589a3e7c3
18 changed files with 13987 additions and 4 deletions

View File

@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pcmk_docdir %{_docdir}/%{name}
%if 0%{?suse_version}
%define _libexecdir %{_libdir}
@@ -54,14 +55,35 @@ Patch7: pacemaker-abi-compliance.diff
Patch8: pacemaker-stonith-timeout.diff
Patch9: pacemaker-ptest-xml-text.diff
Patch10: pacemaker-cib-new-segfault.diff
Patch20: fix-glib_h-include.patch
Patch11: pacemaker-tickets-crm_simulate.diff
Patch12: pacemaker-crm_ticket-force.diff
Patch13: pacemaker-ticket-last-granted-prefix.diff
Patch14: pacemaker-ticket-state.diff
Patch15: pacemaker-ticket-standby.diff
Patch16: pacemaker-crm_ticket.diff
Patch17: pacemaker-crm_ticket-tests-update.diff
Patch18: pacemaker-crm_ticket-tests-standby.diff
Patch19: pacemaker-ticket-state-tests.diff
Patch20: pacemaker-ticket-standby-tests.diff
Patch21: pacemaker-log-fix.diff
Patch22: pacemaker-crm_ticket-valgrind.diff
Patch23: pacemaker-crm_ticket-all-tickets.diff
Patch24: pacemaker-crm_mon-tickets.diff
Patch25: pacemaker-crm_simulate-ticket-state.diff
Patch26: pacemaker-coverity-defects.diff
Patch100: fix-glib_h-include.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: pacemaker-ticket-support = 2.0
Conflicts: heartbeat < 3.0
# We need libglue2, not libheartbeat2
Conflicts: libheartbeat2 < 3.0.0
PreReq: cluster-glue >= 1.0.6
Requires: resource-agents openais python python-xml
Requires: libpacemaker3 = %{version}-%{release} python-curses
Requires: libpacemaker3 = %{version}-%{release}
Requires: openais
Requires: python
Requires: python-curses
Requires: python-xml
Requires: resource-agents
Recommends: crmsh
BuildRequires: asciidoc
BuildRequires: e2fsprogs-devel
@@ -154,8 +176,8 @@ Summary: The Pacemaker scalable High-Availability cluster resource manage
License: GPL-2.0 ; GPL-2.0+ ; LGPL-2.1+
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
Requires: libpacemaker3 = %{version}-%{release}
Requires: libglue-devel
Requires: libpacemaker3 = %{version}-%{release}
%if %with_regression_tests
# For the regression tests, we can run them only if all pacemaker
# packages are installed, so we pull that in here for the regression
@@ -193,7 +215,23 @@ Authors:
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch100 -p1
###########################################################
%build