Accepting request 76151 from games:tools
Use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d. (forwarded request 75519 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/76151 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mumble?expand=0&rev=11
This commit is contained in:
commit
0840172ee7
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 6 08:22:17 UTC 2011 - aj@suse.de
|
||||||
|
|
||||||
|
- Use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 11 16:18:09 UTC 2011 - lnussel@suse.de
|
Sat Jun 11 16:18:09 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -365,11 +365,11 @@ cat >> %buildroot/etc/tmpdirs.d/50_mumble-server <<EOF
|
|||||||
while read t f m o g xxx; do
|
while read t f m o g xxx; do
|
||||||
[ "$t" = d ] || continue
|
[ "$t" = d ] || continue
|
||||||
install -d -m $m -o $o -g $g $f
|
install -d -m $m -o $o -g $g $f
|
||||||
done < /etc/tmpfiles.d/mumble-server.conf
|
done < /usr/lib/tmpfiles.d/mumble-server.conf
|
||||||
EOF
|
EOF
|
||||||
%endif
|
%endif
|
||||||
mkdir %buildroot/etc/tmpfiles.d
|
mkdir -p %buildroot/usr/lib/tmpfiles.d
|
||||||
cat >> %buildroot/etc/tmpfiles.d/mumble-server.conf <<EOF
|
cat >> %buildroot/usr/lib/tmpfiles.d/mumble-server.conf <<EOF
|
||||||
d /var/run/mumble-server 0755 mumble-server mumble-server -
|
d /var/run/mumble-server 0755 mumble-server mumble-server -
|
||||||
EOF
|
EOF
|
||||||
%endif
|
%endif
|
||||||
@ -435,7 +435,8 @@ getent passwd mumble-server >/dev/null || \
|
|||||||
%if 0%{?suse_version} == 1130
|
%if 0%{?suse_version} == 1130
|
||||||
%config /etc/tmpdirs.d/50_mumble-server
|
%config /etc/tmpdirs.d/50_mumble-server
|
||||||
%endif
|
%endif
|
||||||
%config /etc/tmpfiles.d/mumble-server.conf
|
%dir /usr/lib/tmpfiles.d
|
||||||
|
%config /usr/lib/tmpfiles.d/mumble-server.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user