From cf1ebfcf6cd75786ebb80fca876dfd17a1146261 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Feb 19 2016 15:42:20 +0000 Subject: Add missing dependency Signed-off-by: Peter Lemenkov --- diff --git a/erlang.spec b/erlang.spec index 7d3aa37..83c691c 100644 --- a/erlang.spec +++ b/erlang.spec @@ -16,7 +16,7 @@ Name: erlang Version: 18.2.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: General-purpose programming language and runtime environment Group: Development/Languages @@ -425,6 +425,8 @@ BuildRequires: lksctp-tools-devel BuildRequires: m4 BuildRequires: ncurses-devel BuildRequires: zlib-devel +# epmd user, epmd group +Requires(pre): shadow-utils Requires: %{name}-kernel%{?_isa} = %{version}-%{release} Requires: %{name}-stdlib%{?_isa} = %{version}-%{release} Requires: lksctp-tools @@ -921,18 +923,9 @@ Erlang mode for XEmacs (source lisp files). %ifarch sparcv9 sparc64 ERL_FLAGS="${RPM_OPT_FLAGS} -mcpu=ultrasparc -fno-strict-aliasing" %else - -%ifarch %{ix86} -# We have to disable optimizations for Intel Atom -# See https://bugzilla.redhat.com/1240487#c13 -#ERL_FLAGS="${RPM_OPT_FLAGS/-mtune=atom/-mtune=generic} -fno-strict-aliasing" -ERL_FLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" -%else ERL_FLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" %endif -%endif - CFLAGS="${ERL_FLAGS}" CXXFLAGS="${ERL_FLAGS}" %configure --enable-shared-zlib --enable-sctp --enable-systemd %{?__with_hipe:--enable-hipe} # Remove pre-built BEAM files @@ -2239,6 +2232,9 @@ useradd -r -g epmd -d /tmp -s /sbin/nologin \ %changelog +* Fri Feb 19 2016 Peter Lemenkov - 18.2.3-3 +- Add missing dependency + * Wed Feb 10 2016 Peter Lemenkov - 18.2.3-2 - Workaround for broken cmpxchg8b inlining on ix86 (rhbz#1240487) - Don't use generic optimization on ix86