Accepting request 224566 from home:coolo:branches:openSUSE:Factory
- prereq useradd - called from %pre OBS-URL: https://build.opensuse.org/request/show/224566 OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=37
This commit is contained in:
parent
13c4303162
commit
46e2c9290d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 4 06:39:39 UTC 2014 - coolo@suse.com
|
||||
|
||||
- prereq useradd - called from %pre
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 26 16:10:49 CET 2014 - kukuk@suse.de
|
||||
|
||||
|
10
rpcbind.spec
10
rpcbind.spec
@ -33,6 +33,7 @@ BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: tcpd-devel
|
||||
PreReq: %fillup_prereq
|
||||
Requires(pre): /usr/sbin/useradd
|
||||
|
||||
# The next three are from upstream, applied directly on top of rc4.
|
||||
Patch0: 0001-Fix-building-one-systems-w-out-nss.h.patch
|
||||
@ -73,13 +74,6 @@ on various transports supported by the TI-RPC. This includes TCP and
|
||||
UDP over IPv6. Moreover, rpcbind provides additional functions in
|
||||
regards to portmap.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Gilles Quillard <gilles.quillard@bull.net>
|
||||
Vincent ROQUETA <vincent.roqueta@ext.bull.net>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{SOURCE4} .
|
||||
@ -145,7 +139,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%service_add_pre %{name}.service %{name}.socket
|
||||
|
||||
# Add "rpc" user
|
||||
getent passwd rpc >/dev/null || useradd -r -g nogroup -d /var/lib/emptry -s /sbin/nologin -c "user for rpcbind" rpc
|
||||
getent passwd rpc >/dev/null || /usr/sbin/useradd -r -g nogroup -d /var/lib/emptry -s /sbin/nologin -c "user for rpcbind" rpc
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
|
Loading…
Reference in New Issue
Block a user