From 89b04d88190cb27595d3f160a4e09a11240891ad Mon Sep 17 00:00:00 2001 From: Lon Hohberger Date: Jun 01 2014 14:59:24 +0000 Subject: Use specific subpackages of erlang instead of the entire metapackage (bz1083637) --- diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec index 075a57c..10e9bc8 100644 --- a/rabbitmq-server.spec +++ b/rabbitmq-server.spec @@ -1,6 +1,9 @@ +%global erlang_minver R12B-3 + + Name: rabbitmq-server Version: 3.1.5 -Release: 6%{?dist} +Release: 7%{?dist} License: MPLv1.1 Group: Development/Libraries Source: http://www.rabbitmq.com/releases/rabbitmq-server/v%{version}/%{name}-%{version}.tar.gz @@ -12,11 +15,21 @@ Source5: rabbitmq-server.tmpfiles Source6: rabbitmq-server.service URL: http://www.rabbitmq.com/ BuildArch: noarch -BuildRequires: erlang >= R12B-3, python-simplejson, xmlto, libxslt, python, zip +BuildRequires: erlang >= %{erlang_minver}, python-simplejson, xmlto, libxslt, python, zip %if 0%{?fedora} || 0%{?rhel} >= 7 BuildRequires: systemd %endif -Requires: erlang >= R12B-3, logrotate +Requires: logrotate +Requires: erlang-erts%{?_isa} >= %{erlang_minver} +Requires: erlang-kernel%{?_isa} >= %{erlang_minver} +Requires: erlang-mnesia%{?_isa} >= %{erlang_minver} +Requires: erlang-os_mon%{?_isa} >= %{erlang_minver} +Requires: erlang-public_key%{?_isa} >= %{erlang_minver} +Requires: erlang-sasl%{?_isa} >= %{erlang_minver} +Requires: erlang-ssl%{?_isa} >= %{erlang_minver} +Requires: erlang-stdlib%{?_isa} >= %{erlang_minver} +Requires: erlang-tools%{?_isa} >= %{erlang_minver} +Requires: erlang-xmerl%{?_isa} >= %{erlang_minver} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%{_arch}-root Summary: The RabbitMQ server # Users and groups @@ -187,6 +200,10 @@ done rm -rf %{buildroot} %changelog +* Sun Jun 01 2014 Lon Hohberger - 3.1.5-7 +- Use specific subpackages of erlang instead of the entire + metapackage (bz1083637) + * Wed Apr 09 2014 Alan Pevec - 3.1.5-6 - Fix failure to start on boot on RHEL7 (#1085418)