[Pacemaker] [PATCH] Split out pacemaker-cluster-libs rpm package from pacemaker-libs

Pádraig Brady P at draigBrady.com
Fri Sep 23 07:09:02 EDT 2011


# HG changeset patch
# User Pádraig Brady <P at draigBrady.com>
# Date 1316776074 -3600
# Node ID 4cc7dd5a00a951911d2ec76d4cf3f65088acc77f
# Parent  9971ebba4494012a93c03b40a2c58ec0eb60f50c
Split out pacemaker-cluster-libs rpm package from pacemaker-libs

diff -r 9971ebba4494 -r 4cc7dd5a00a9 pacemaker.spec.in
--- a/pacemaker.spec.in	Wed Aug 31 11:02:11 2011 +1000
+++ b/pacemaker.spec.in	Fri Sep 23 12:07:54 2011 +0100
@@ -2,7 +2,7 @@
 %global uname hacluster
 %global pcmk_docdir %{_docdir}/%{name}
 
-%global specversion 1
+%global specversion 2
 %global upstream_version tip
 %global upstream_prefix pacemaker
 
@@ -73,6 +73,7 @@
 Requires(pre):	cluster-glue
 Requires:	resource-agents
 Requires:	%{name}-libs = %{version}-%{release}
+Requires:	%{name}-cluster-libs = %{version}-%{release}
 Requires:	%{name}-cli = %{version}-%{release}
 Requires:	python >= 2.4
 Conflicts:	heartbeat < 2.99
@@ -151,6 +152,7 @@
 Summary:	Command line tools for controlling the Pacemaker cluster resource manager
 Group:		System Environment/Daemons
 Requires:	%{name}-libs = %{version}-%{release}
+Requires:	%{name}-cluster-libs = %{version}-%{release}
 
 %description cli
 Pacemaker is an advanced, scalable High-Availability cluster resource
@@ -206,6 +208,23 @@
 when related resources fail and can be configured to periodically check
 resource health.
 
+%package -n %{name}-cluster-libs
+License:	GPLv2+ and LGPLv2+
+Summary:	Cluster Libraries used by the Pacemaker cluster resource manager and its clients
+Group:		System Environment/Daemons
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description -n %{name}-cluster-libs
+Pacemaker is an advanced, scalable High-Availability cluster resource
+manager for Linux-HA (Heartbeat) and/or OpenAIS.
+
+It supports "n-node" clusters with significant capabilities for
+managing resources and dependencies.
+
+It will run scripts at initialization, when machines go up or down,
+when related resources fail and can be configured to periodically check
+resource health.
+
 %package	cts
 License:	GPLv2+ and LGPLv2+
 Summary:	Test framework for cluster-related technologies like Pacemaker
@@ -321,6 +340,10 @@
 
 %postun -n %{name}-libs -p /sbin/ldconfig
 
+%post -n %{name}-cluster-libs -p /sbin/ldconfig
+
+%postun -n %{name}-cluster-libs -p /sbin/ldconfig
+
 %files
 ###########################################################
 %defattr(-,root,root)
@@ -398,11 +421,16 @@
 %defattr(-,root,root)
 %{_libdir}/libcib.so.*
 %{_libdir}/libcrmcommon.so.*
-%{_libdir}/libcrmcluster.so.*
 %{_libdir}/libpe_status.so.*
 %{_libdir}/libpe_rules.so.*
 %{_libdir}/libpengine.so.*
 %{_libdir}/libtransitioner.so.*
+%doc COPYING.LIB
+%doc AUTHORS
+
+%files -n %{name}-cluster-libs
+%defattr(-,root,root)
+%{_libdir}/libcrmcluster.so.*
 %{_libdir}/libstonithd.so.*
 %doc COPYING.LIB
 %doc AUTHORS
@@ -432,6 +460,9 @@
 %doc AUTHORS
 
 %changelog
+* Thu Sep 22 2011 Pádraig Brady <P at draigBrady.com> 1.1.6-2
+- Split out pacemaker-cluster-libs from pacemaker-libs
+
 * Wed Aug 31 2011 Andrew Beekhof <andrew at beekhof.net> 1.1.6-1
 - Update source tarball to revision: 676e5f25aa46 tip
 - Statistics:


More information about the Pacemaker mailing list