forked from erlang/erlang
Accepting request 403774 from home:jengelh:branches:devel:languages:erlang:Factory
- Do not suppress errors from useradd/groupadd - Orthographic/typographical fixes OBS-URL: https://build.opensuse.org/request/show/403774 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=43
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 21:35:57 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Do not suppress errors from useradd/groupadd
|
||||
- Orthographic/typographical fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 07:19:17 UTC 2016 - matwey.kornilov@gmail.com
|
||||
|
||||
|
10
erlang.spec
10
erlang.spec
@@ -122,7 +122,7 @@ Requires: graphviz
|
||||
A DIscrepany AnaLYZer for ERlang programs.
|
||||
|
||||
%package diameter
|
||||
Summary: Main API of the diameter application.
|
||||
Summary: Main API of the Diameter application
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
@@ -234,12 +234,12 @@ They are useful for educational purpose and as a base for creating
|
||||
embedded systems.
|
||||
|
||||
%package diameter-src
|
||||
Summary: Erlang/OTP diameter application sources
|
||||
Summary: Erlang/OTP Diameter application sources
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name}-diameter = %{version}
|
||||
|
||||
%description diameter-src
|
||||
Erlang sources for the diameter application in the Erlang/OTP system.
|
||||
Erlang sources for the Diameter application in the Erlang/OTP system.
|
||||
They are useful for educational purpose and as a base for creating
|
||||
embedded systems.
|
||||
|
||||
@@ -432,8 +432,8 @@ install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
|
||||
install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
||||
|
||||
%pre epmd
|
||||
/usr/sbin/groupadd -r epmd >/dev/null 2>&1 || :
|
||||
/usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd >/dev/null 2>&1 || :
|
||||
getent group epmd || /usr/sbin/groupadd -r epmd || :
|
||||
getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd || :
|
||||
%if 0%{?have_systemd}
|
||||
%service_add_pre epmd.service epmd.socket
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user