From 47dba164b93fef262852681eaf22239c78d9b3e4552beba1653fad106cce6c7c Mon Sep 17 00:00:00 2001 From: Matwey Kornilov Date: Sat, 18 Mar 2017 07:49:43 +0000 Subject: [PATCH] Accepting request 478445 from home:matwey:branches:devel:languages:erlang:Factory OBS-URL: https://build.opensuse.org/request/show/478445 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=50 --- erlang.changes | 5 +++++ erlang.spec | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/erlang.changes b/erlang.changes index a59015f..6330a55 100644 --- a/erlang.changes +++ b/erlang.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 10 08:10:13 UTC 2017 - matwey.kornilov@gmail.com + +- Add missed scripts requires for erlang-epmd package + ------------------------------------------------------------------- Thu Feb 2 15:40:10 UTC 2017 - matwey.kornilov@gmail.com diff --git a/erlang.spec b/erlang.spec index c1286a7..5be40d8 100644 --- a/erlang.spec +++ b/erlang.spec @@ -1,7 +1,7 @@ # # spec file for package erlang # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,6 +50,8 @@ BuildRequires: tcl-devel BuildRequires: tk-devel BuildRequires: unixODBC-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %fillup_prereq +BuildRequires: %insserv_prereq BuildRequires: Mesa-devel BuildRequires: fdupes BuildRequires: fop @@ -88,7 +90,6 @@ BuildRequires: wxGTK-devel >= 2.8 %if 0%{?suse_version} >=1230 BuildRequires: systemd-devel BuildRequires: pkgconfig(systemd) -%{?systemd_requires} %define have_systemd 1 %endif @@ -145,6 +146,11 @@ Documentation for Erlang. Summary: Erlang Port Mapper daemon Group: Development/Languages/Other Requires: %{name} = %{version} +Requires(postun): %insserv_prereq +Requires(post): %fillup_prereq +%if 0%{?have_systemd} +%{?systemd_requires} +%endif %description epmd The Erlang Port Mapper daemon acts as a name server on all hosts involved in distributed Erlang computations.