Accepting request 142029 from devel:languages:erlang

- Fix useradd invocation: -o is useless without -u and newer
  versions of pwdutils/shadowutils fail on this now.

The error is masked due to || : (forwarded request 141960 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/142029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2012-11-21 14:11:44 +00:00 committed by Git OBS Bridge
commit dc968bf4f2
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Nov 19 18:41:15 UTC 2012 - dimstar@opensuse.org
- Fix useradd invocation: -o is useless without -u and newer
versions of pwdutils/shadowutils fail on this now.
-------------------------------------------------------------------
Sat Nov 17 13:36:31 UTC 2012 - matwey.kornilov@gmail.com
- fixed 'executable-docs' lint error
-------------------------------------------------------------------
Fri Nov 16 22:51:00 MSK 2012 - matwey.kornilov@gmail.com

View File

@ -286,7 +286,7 @@ install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
%pre
/usr/sbin/groupadd -r epmd &>/dev/null || :
/usr/sbin/useradd -o -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd &>/dev/null || :
/usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd &>/dev/null || :
%post
%{_libdir}/erlang/Install -minimal %{_libdir}/erlang >/dev/null 2>/dev/null
@ -381,7 +381,7 @@ install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
%exclude %{_libdir}/erlang/lib/dialyzer-*/src
%files doc
%defattr(-,root,root)
%defattr(0644,root,root,0755)
%doc erlang_doc/*
%files et