diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-03-11 16:05:28 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-03-11 16:05:28 +0000 |
commit | 853e03babb8e13b4e6d4d2474431edb0f7bb12e9 (patch) | |
tree | 868b364dff8bff60e04472f31d5efdaab1008d39 /packaging/RPMS | |
parent | 29d6ac54afc444271c0621cf6196af106b93e3bf (diff) | |
download | rabbitmq-server-853e03babb8e13b4e6d4d2474431edb0f7bb12e9.tar.gz |
Try to install the ocf script in the right place
Diffstat (limited to 'packaging/RPMS')
-rw-r--r-- | packaging/RPMS/Fedora/rabbitmq-server.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/RPMS/Fedora/rabbitmq-server.spec b/packaging/RPMS/Fedora/rabbitmq-server.spec index fa9bb2ee..821dd276 100644 --- a/packaging/RPMS/Fedora/rabbitmq-server.spec +++ b/packaging/RPMS/Fedora/rabbitmq-server.spec @@ -10,6 +10,7 @@ Source1: rabbitmq-server.init Source2: rabbitmq-script-wrapper Source3: rabbitmq-server.logrotate Source4: rabbitmq-asroot-script-wrapper +Source5: rabbitmq-server.ocf URL: http://www.rabbitmq.com/ BuildRequires: erlang, python-simplejson Requires: erlang, logrotate @@ -27,6 +28,7 @@ scalable implementation of an AMQP broker. %define _rabbit_libdir %{_libdir}/rabbitmq %define _rabbit_wrapper %{_builddir}/`basename %{S:2}` %define _rabbit_asroot_wrapper %{_builddir}/`basename %{S:4}` +%define _rabbit_server_ocf %{_builddir}/`basename %{S:5}` %define _maindir %{buildroot}%{_rabbit_erllibdir} @@ -57,6 +59,7 @@ 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}%{_libdir}/ocf/resource.d/rabbitmq/rabbitmq-server install -p -D -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/logrotate.d/rabbitmq-server |