From 59ce45c9d0c2018deb312c288ecb52aa11862d27 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Mon, 4 Jun 2012 09:04:22 +0000 Subject: [PATCH] - fix to glib2 includes - include stonith test cases - Release: 2 Changed files: cluster-glue-glib_includes.patch -> 1.1 cluster-glue.spec -> 1.17 --- cluster-glue-glib_includes.patch | 12 ++++++++++++ cluster-glue.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cluster-glue-glib_includes.patch diff --git a/cluster-glue-glib_includes.patch b/cluster-glue-glib_includes.patch new file mode 100644 index 0000000..a9cad10 --- /dev/null +++ b/cluster-glue-glib_includes.patch @@ -0,0 +1,12 @@ +--- Reusable-Cluster-Components-glue--glue-1.0.9/include/clplumbing/cl_uuid.h~ 2011-11-28 20:00:37.000000000 +0100 ++++ Reusable-Cluster-Components-glue--glue-1.0.9/include/clplumbing/cl_uuid.h 2012-06-04 10:57:42.000000000 +0200 +@@ -16,7 +16,8 @@ + + #ifndef _CL_UUID_H_ + #define _CL_UUID_H_ +-#include ++ ++#include + + typedef struct cl_uuid_s{ + unsigned char uuid[16]; diff --git a/cluster-glue.spec b/cluster-glue.spec index a3a9996..492b4fd 100644 --- a/cluster-glue.spec +++ b/cluster-glue.spec @@ -5,12 +5,13 @@ Summary: Reusable cluster components Name: cluster-glue Version: 1.0.9 -Release: 1 +Release: 2 License: GPL v2+ and LGPL v2+ Group: Base URL: http://www.linux-ha.org/ Source0: http://hg.linux-ha.org/glue/archive/glue-%{version}.tar.bz2 # Source0-md5: da2cbe949b0614cc3ce910f3caa34603 +Patch0: %{name}-glib_includes.patch BuildRequires: OpenIPMI-devel BuildRequires: autoconf BuildRequires: automake @@ -97,6 +98,8 @@ STONITH (Shoot The Other Node In The Head) to interfejs służący do %prep %setup -q -n Reusable-Cluster-Components-glue--glue-%{version} +%patch0 -p1 + %build %{__libtoolize} %{__aclocal} @@ -244,6 +247,8 @@ fi %{_datadir}/%{name}/lrmtest/testcases/rscexec.exp %{_datadir}/%{name}/lrmtest/testcases/rscmgmt %{_datadir}/%{name}/lrmtest/testcases/rscmgmt.exp +%{_datadir}/%{name}/lrmtest/testcases/stonith +%{_datadir}/%{name}/lrmtest/testcases/stonith.exp %attr(755,root,root) %{_datadir}/%{name}/lrmtest/testcases/*filter %attr(755,root,root) %{_datadir}/%{name}/lrmtest/testcases/*.sh -- 2.44.0