[ricci/f14/master] Include gfs2-cluster in install of shared storage packages.

Chris Feist cfeist at fedoraproject.org
Mon Nov 8 20:11:11 UTC 2010


commit 81363404616ca74367075f0d6fbb8cdcf4a0b542
Author: Chris Feist <cfeist at redhat.com>
Date:   Mon Nov 8 14:01:59 2010 -0600

    Include gfs2-cluster in install of shared storage packages.

 gfs2-clusterfix.patch |   12 ++++++++++++
 ricci.spec            |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gfs2-clusterfix.patch b/gfs2-clusterfix.patch
new file mode 100644
index 0000000..9785cdd
--- /dev/null
+++ b/gfs2-clusterfix.patch
@@ -0,0 +1,12 @@
+diff --git a/ricci/modules/rpm/PackageHandler.cpp b/ricci/modules/rpm/PackageHandler.cpp
+index f0b47f8..10043ca 100644
+--- a/ricci/modules/rpm/PackageHandler.cpp
++++ b/ricci/modules/rpm/PackageHandler.cpp
+@@ -368,6 +368,7 @@ PackageHandler::build_cluster_storage_set()
+ 
+ 	PackageSet set("Clustered Storage");
+ 	set.packages.push_back("lvm2-cluster");
++	set.packages.push_back("gfs2-cluster");
+ 	set.packages.push_back("sg3_utils");
+ 	set.packages.push_back("gfs2-utils");
+ 
diff --git a/ricci.spec b/ricci.spec
index 98a9c85..5048c4b 100644
--- a/ricci.spec
+++ b/ricci.spec
@@ -10,12 +10,13 @@
 
 Name: ricci
 Version: 0.18.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2
 URL: http://sources.redhat.com/cluster/conga/
 Group: System Environment/Base
 Summary: Remote Cluster and Storage Management System
 Source0: http://people.redhat.com/rmccabe/conga/fedora/src/ricci-%{version}.tar.bz2
+Patch0: gfs2-clusterfix.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: libxml2-devel python-devel libcap-devel
@@ -33,6 +34,7 @@ Requires(postun): initscripts
 
 %prep
 %setup -q
+%patch0 -p1 -b .gfs2-clusterfix
 
 %build
 cd ricci
@@ -130,6 +132,9 @@ fi
 exit 0
 
 %changelog
+* Mon Nov 08 2010 Chris Feist <cfeist at redhat.com> - 0.18.1-2
+- Include gfs2-cluster in install of shared storage packages.
+
 * Thu Aug 19 2010 Chris Feist <cfeist at redhat.com> - 0.18-1
 - Sync up to latest source tree (0.18)
 


More information about the scm-commits mailing list