Accepting request 492461 from home:kukuk:branches:network
- Adjust for new system user/group RPMs OBS-URL: https://build.opensuse.org/request/show/492461 OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=68
This commit is contained in:
parent
eb201df304
commit
915d1c8084
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 2 13:58:57 CEST 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Adjust for new system user/group RPMs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 08:27:10 CET 2016 - kukuk@suse.de
|
Tue Nov 22 08:27:10 CET 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rpcbind
|
# spec file for package rpcbind
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -36,6 +36,9 @@ BuildRequires: tcpd-devel
|
|||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
|
%if 0%{?suse_version} >= 1330
|
||||||
|
Requires(pre): group(nobody)
|
||||||
|
%endif
|
||||||
Patch1: 0001-systemd-unit-files.patch
|
Patch1: 0001-systemd-unit-files.patch
|
||||||
Patch2: 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
|
Patch2: 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
|
||||||
Patch3: 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
|
Patch3: 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
|
||||||
@ -115,7 +118,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%service_add_pre %{name}.service %{name}.socket
|
%service_add_pre %{name}.service %{name}.socket
|
||||||
|
|
||||||
# Add "rpc" user
|
# Add "rpc" user
|
||||||
getent passwd rpc >/dev/null || /usr/sbin/useradd -r -g nogroup -d /var/lib/empty -s /sbin/nologin -c "user for rpcbind" rpc
|
getent passwd rpc >/dev/null || /usr/sbin/useradd -r -g nobody -d /var/lib/empty -s /sbin/nologin -c "user for rpcbind" rpc
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
Loading…
Reference in New Issue
Block a user