From f9e58de2dacf6d5d256538e3785fc1ad05f8b746 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Sep 24 2019 15:22:02 +0000 Subject: Enable rabbitmq-diagnostics command --- diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec index f9865c8..3207e3f 100644 --- a/rabbitmq-server.spec +++ b/rabbitmq-server.spec @@ -7,7 +7,7 @@ Name: rabbitmq-server Version: 3.7.16 -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv1.1 Source0: https://github.com/rabbitmq/rabbitmq-server/releases/download/v%{version}/%{name}_%{version}.orig.tar.xz Source1: https://github.com/rabbitmq/rabbitmq-server/releases/download/v%{version}/%{name}_%{version}.orig.tar.xz.asc @@ -112,10 +112,11 @@ install -p -D -m 0644 ./deps/rabbit/docs/rabbitmq-server.service.example %{build install -p -D -m 0755 ./scripts/rabbitmq-script-wrapper %{buildroot}%{_sbindir}/rabbitmqctl install -p -D -m 0755 ./scripts/rabbitmq-script-wrapper %{buildroot}%{_sbindir}/rabbitmq-server install -p -D -m 0755 ./scripts/rabbitmq-script-wrapper %{buildroot}%{_sbindir}/rabbitmq-plugins +install -p -D -m 0755 ./scripts/rabbitmq-script-wrapper %{buildroot}%{_sbindir}/rabbitmq-diagnostics # Make necessary symlinks mkdir -p %{buildroot}%{_rabbit_libdir}/bin -for app in rabbitmq-defaults rabbitmq-env rabbitmq-plugins rabbitmq-server rabbitmqctl ; do +for app in rabbitmq-defaults rabbitmq-env rabbitmq-plugins rabbitmq-diagnostics rabbitmq-server rabbitmqctl ; do ln -s %{_rabbit_libdir}/lib/rabbitmq_server-%{version}/sbin/${app} %{buildroot}%{_rabbit_libdir}/bin/${app} done @@ -175,6 +176,7 @@ done %{_sbindir}/rabbitmqctl %{_sbindir}/rabbitmq-server %{_sbindir}/rabbitmq-plugins +%{_sbindir}/rabbitmq-diagnostics %{_rabbit_libdir}/ %{_unitdir}/%{name}.service # FIXME this should add dependency on "/usr/lib/ocf/resource.d/" owner @@ -196,6 +198,9 @@ done %changelog +* Tue Sep 24 2019 John Eckersberg - 3.7.16-2 +- Enable rabbitmq-diagnostics command + * Wed Jul 24 2019 Peter Lemenkov - 3.7.16-1 - Ver. 3.7.16