diff --git a/.gitignore b/.gitignore
index b038293..358bad6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
rabbitmq-server-1.8.0.tar.gz
+/rabbitmq-server-2.0.0.tar.gz
diff --git a/rabbitmq-server.ocf b/rabbitmq-server.ocf
index db0ed70..b969535 100755
--- a/rabbitmq-server.ocf
+++ b/rabbitmq-server.ocf
@@ -40,7 +40,6 @@
## OCF_RESKEY_nodename
## OCF_RESKEY_ip
## OCF_RESKEY_port
-## OCF_RESKEY_cluster_config_file
## OCF_RESKEY_config_file
## OCF_RESKEY_log_base
## OCF_RESKEY_mnesia_base
@@ -117,14 +116,6 @@ The IP Port for rabbitmq-server to listen on
-
-
-Location of the cluster config file
-
-Cluster config file path
-
-
-
Location of the config file
@@ -184,7 +175,6 @@ RABBITMQ_CTL=$OCF_RESKEY_ctl
RABBITMQ_NODENAME=$OCF_RESKEY_nodename
RABBITMQ_NODE_IP_ADDRESS=$OCF_RESKEY_ip
RABBITMQ_NODE_PORT=$OCF_RESKEY_port
-RABBITMQ_CLUSTER_CONFIG_FILE=$OCF_RESKEY_cluster_config_file
RABBITMQ_CONFIG_FILE=$OCF_RESKEY_config_file
RABBITMQ_LOG_BASE=$OCF_RESKEY_log_base
RABBITMQ_MNESIA_BASE=$OCF_RESKEY_mnesia_base
@@ -195,7 +185,6 @@ RABBITMQ_SERVER_START_ARGS=$OCF_RESKEY_server_start_args
export_vars() {
[ ! -z $RABBITMQ_NODE_IP_ADDRESS ] && export RABBITMQ_NODE_IP_ADDRESS
[ ! -z $RABBITMQ_NODE_PORT ] && export RABBITMQ_NODE_PORT
- [ ! -z $RABBITMQ_CLUSTER_CONFIG_FILE ] && export RABBITMQ_CLUSTER_CONFIG_FILE
[ ! -z $RABBITMQ_CONFIG_FILE ] && export RABBITMQ_CONFIG_FILE
[ ! -z $RABBITMQ_LOG_BASE ] && export RABBITMQ_LOG_BASE
[ ! -z $RABBITMQ_MNESIA_BASE ] && export RABBITMQ_MNESIA_BASE
@@ -215,11 +204,6 @@ rabbit_validate_partial() {
}
rabbit_validate_full() {
- if [ ! -z $RABBITMQ_CLUSTER_CONFIG_FILE ] && [ ! -e $RABBITMQ_CLUSTER_CONFIG_FILE ]; then
- ocf_log err "rabbitmq-server cluster_config_file $RABBITMQ_CLUSTER_CONFIG_FILE does not exist or is not a file";
- exit $OCF_ERR_INSTALLED;
- fi
-
if [ ! -z $RABBITMQ_CONFIG_FILE ] && [ ! -e $RABBITMQ_CONFIG_FILE ]; then
ocf_log err "rabbitmq-server config_file $RABBITMQ_CONFIG_FILE does not exist or is not a file";
exit $OCF_ERR_INSTALLED;
diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec
index 4db6428..2039936 100644
--- a/rabbitmq-server.spec
+++ b/rabbitmq-server.spec
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: rabbitmq-server
-Version: 1.8.0
+Version: 2.0.0
Release: 1%{?dist}
License: MPLv1.1
Group: Development/Libraries
@@ -11,7 +11,6 @@ Source2: rabbitmq-script-wrapper
Source3: rabbitmq-server.logrotate
Source4: rabbitmq-asroot-script-wrapper
Source5: rabbitmq-server.ocf
-Patch0: bug22871.patch
URL: http://www.rabbitmq.com/
BuildArch: noarch
BuildRequires: erlang >= R12B-3, python-simplejson, xmlto, libxslt
@@ -32,12 +31,13 @@ scalable implementation of an AMQP broker.
%define _rabbit_wrapper %{_builddir}/`basename %{S:2}`
%define _rabbit_asroot_wrapper %{_builddir}/`basename %{S:4}`
%define _rabbit_server_ocf %{_builddir}/`basename %{S:5}`
+%define _plugins_state_dir %{_localstatedir}/lib/rabbitmq/plugins
+
%define _maindir %{buildroot}%{_rabbit_erllibdir}
%prep
%setup -q
-%patch0 -p1
%build
cp %{S:2} %{_rabbit_wrapper}
@@ -60,8 +60,6 @@ install -p -D -m 0755 %{S:1} %{buildroot}%{_initrddir}/rabbitmq-server
install -p -D -m 0755 %{_rabbit_wrapper} %{buildroot}%{_sbindir}/rabbitmqctl
install -p -D -m 0755 %{_rabbit_wrapper} %{buildroot}%{_sbindir}/rabbitmq-server
install -p -D -m 0755 %{_rabbit_wrapper} %{buildroot}%{_sbindir}/rabbitmq-multi
-install -p -D -m 0755 %{_rabbit_asroot_wrapper} %{buildroot}%{_sbindir}/rabbitmq-activate-plugins
-install -p -D -m 0755 %{_rabbit_asroot_wrapper} %{buildroot}%{_sbindir}/rabbitmq-deactivate-plugins
install -p -D -m 0755 %{_rabbit_server_ocf} %{buildroot}%{_exec_prefix}/lib/ocf/resource.d/rabbitmq/rabbitmq-server
install -p -D -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/logrotate.d/rabbitmq-server
@@ -110,7 +108,7 @@ if [ $1 = 0 ]; then
fi
# Clean out plugin activation state, both on uninstall and upgrade
-rm -rf %{_rabbit_erllibdir}/priv
+rm -rf %{_plugins_state_dir}
for ext in rel script boot ; do
rm -f %{_rabbit_erllibdir}/ebin/rabbit.$ext
done
@@ -130,6 +128,9 @@ done
rm -rf %{buildroot}
%changelog
+* Mon Aug 23 2010 Mike Bridgen 2.0.0-1
+- New Upstream Release
+
* Mon Jun 28 2010 Hubert Plociniczak 1.8.0-1
- New Upstream Release
- Backported fix for bug 22871, fixes issues with erlang >= R14A
diff --git a/sources b/sources
index cc11e8d..72797cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e00bea375e81d51600b5b14220c64d89 rabbitmq-server-1.8.0.tar.gz
+04b99018085d4156b404d56377fc1c62 rabbitmq-server-2.0.0.tar.gz