From 9c5d8c429331fc9b6279eddd370dca9e726fd5575e6dd99bced4d9bd2a5051a3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 30 Nov 2018 14:47:23 +0000 Subject: [PATCH] Accepting request 651344 from home:matwey:branches:network:messaging:amqp - BuildRequire elixir - Constrain required erlang versions: https://www.rabbitmq.com/which-erlang.html (boo#1115169) - Drop sysexists-in-ocf.patch: upstreamed - Update to 3.7.9 - Changes for 3.7.9: * Bug fixes * Usability improvements - Changes for 3.7.8: * Bug fixes * Usability improvements - Changes for 3.7.7: * Erlang 21 compatibility * Bug fixes * Usability improvements - Changes for 3.7.6: * Bug fixes * Usability improvements - Changes for 3.7.5: * Bug fixes * Usability improvements - Changes for 3.7.4: * Bug fixes * Usability improvements - Changes for 3.7.3: * Bug fixes * Usability improvements - Changes for 3.7.2: * Bug fix in the HTTP auth backend - Changes for 3.7.1: * Bug fixes - Changes for 3.7.0: * Minimum required Erlang version is now 19.3 * Automation-friendly cluster formation * Distributed management plugin, including minor breaking HTTP API changes. * Simpler, ini-style configuration format * Per-vhost limits * Operator policies * Topic-based authorisation * Cross-protocol Shovel (currently supports AMQP 0.9.1 and AMQP 1.0) * Command-line tools are extensible via plugins * Message store multi-tenancy * Proxy protocol support * Web STOMP no longer supports WebSocket emulation * Java and .NET client releases no longer track RabbitMQ server releases * .NET client now supports .NET Core. * Management plugin extensions now must target Cowboy 2.0 * Java client for RabbitMQ HTTP API OBS-URL: https://build.opensuse.org/request/show/651344 OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=99 --- rabbitmq-server-3.6.16.tar.xz | 3 -- rabbitmq-server-3.7.9.tar.xz | 3 ++ rabbitmq-server.changes | 54 +++++++++++++++++++++++++++++++++++ rabbitmq-server.spec | 17 ++++++----- sysexists-in-ocf.patch | 13 --------- 5 files changed, 67 insertions(+), 23 deletions(-) delete mode 100644 rabbitmq-server-3.6.16.tar.xz create mode 100644 rabbitmq-server-3.7.9.tar.xz delete mode 100644 sysexists-in-ocf.patch diff --git a/rabbitmq-server-3.6.16.tar.xz b/rabbitmq-server-3.6.16.tar.xz deleted file mode 100644 index c0e4138..0000000 --- a/rabbitmq-server-3.6.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25b615426dc04863ed763ee92077e8544796f3963a206d3648d280678b069115 -size 1483368 diff --git a/rabbitmq-server-3.7.9.tar.xz b/rabbitmq-server-3.7.9.tar.xz new file mode 100644 index 0000000..7f41771 --- /dev/null +++ b/rabbitmq-server-3.7.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:388af73c950cbd38e1774ac7336c8b0a788512ebba6175ea16a674f252f8108d +size 2551456 diff --git a/rabbitmq-server.changes b/rabbitmq-server.changes index 7cc798a..9b86fb7 100644 --- a/rabbitmq-server.changes +++ b/rabbitmq-server.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Fri Nov 16 15:36:12 UTC 2018 - matwey.kornilov@gmail.com + +- BuildRequire elixir +- Constrain required erlang versions: + https://www.rabbitmq.com/which-erlang.html (boo#1115169) +- Drop sysexists-in-ocf.patch: upstreamed +- Update to 3.7.9 +- Changes for 3.7.9: + * Bug fixes + * Usability improvements +- Changes for 3.7.8: + * Bug fixes + * Usability improvements +- Changes for 3.7.7: + * Erlang 21 compatibility + * Bug fixes + * Usability improvements +- Changes for 3.7.6: + * Bug fixes + * Usability improvements +- Changes for 3.7.5: + * Bug fixes + * Usability improvements +- Changes for 3.7.4: + * Bug fixes + * Usability improvements +- Changes for 3.7.3: + * Bug fixes + * Usability improvements +- Changes for 3.7.2: + * Bug fix in the HTTP auth backend +- Changes for 3.7.1: + * Bug fixes +- Changes for 3.7.0: + * Minimum required Erlang version is now 19.3 + * Automation-friendly cluster formation + * Distributed management plugin, including minor breaking HTTP API + changes. + * Simpler, ini-style configuration format + * Per-vhost limits + * Operator policies + * Topic-based authorisation + * Cross-protocol Shovel (currently supports AMQP 0.9.1 and AMQP 1.0) + * Command-line tools are extensible via plugins + * Message store multi-tenancy + * Proxy protocol support + * Web STOMP no longer supports WebSocket emulation + * Java and .NET client releases no longer track RabbitMQ server + releases + * .NET client now supports .NET Core. + * Management plugin extensions now must target Cowboy 2.0 + * Java client for RabbitMQ HTTP API + ------------------------------------------------------------------- Tue Sep 11 06:26:01 UTC 2018 - dmueller@suse.com diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec index d0dc0c9..3cd2b3a 100644 --- a/rabbitmq-server.spec +++ b/rabbitmq-server.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -33,7 +33,7 @@ %define _make_args DESTDIR="%{buildroot}" PREFIX="%{_prefix}" RMQ_ROOTDIR=%{_rabbit_libdir} RMQ_ERLAPP_DIR=%{_rabbit_erllibdir} MAN_INSTALL_PATH="%{_mandir}" DOC_INSTALL_DIR=%{buildroot}/%{_docdir} VERSION=%{version} V=1 Name: rabbitmq-server -Version: 3.6.16 +Version: 3.7.9 Release: 0 Summary: The RabbitMQ Server License: MPL-1.1 @@ -50,10 +50,10 @@ Source6: rabbitmq-server.service Source7: rabbitmq-server.tmpfiles.d.conf Source8: README.SUSE Source9: rabbitmq.config.example -# PATCH-FIX-UPSTREAM sysexists-in-ocf bsc#1093046 -# https://github.com/rabbitmq/rabbitmq-server-release/pull/80 -Patch0: sysexists-in-ocf.patch -BuildRequires: erlang +BuildRequires: elixir +# https://www.rabbitmq.com/which-erlang.html +BuildRequires: erlang < 22 +BuildRequires: erlang >= 19.3.6.4 BuildRequires: erlang-src BuildRequires: fdupes BuildRequires: libxslt @@ -118,12 +118,15 @@ This package includes the RabbitMQ AMQP language bindings for Erlang. %prep %setup -q cp %{SOURCE8} . -%patch0 -p1 %build +# Make elixir happy with Unicode +export LANG=en_US.UTF-8 make all %{_make_args} %{?_smp_mflags} %install +# Make elixir happy with Unicode +export LANG=en_US.UTF-8 make install %{_make_args} mkdir -p %{buildroot}%{_sbindir} diff --git a/sysexists-in-ocf.patch b/sysexists-in-ocf.patch deleted file mode 100644 index b5282de..0000000 --- a/sysexists-in-ocf.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/scripts/rabbitmq-server.ocf b/scripts/rabbitmq-server.ocf -index cf832fe..176d2a7 100755 ---- a/scripts/rabbitmq-server.ocf -+++ b/scripts/rabbitmq-server.ocf -@@ -275,7 +275,7 @@ rabbitmqctl_action() { - ocf_log debug "RabbitMQ server is running normally" - return $OCF_SUCCESS - ;; -- 1|2) -+ 1|2|69) - ocf_log debug "RabbitMQ server is not running" - return $OCF_NOT_RUNNING - ;;