Accepting request 827843 from games:tools
OBS-URL: https://build.opensuse.org/request/show/827843 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mumble?expand=0&rev=61
This commit is contained in:
commit
05add0286c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 19 09:24:00 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Consistently use %{_tmpfilesdir} instead of abusing
|
||||||
|
%{_libexecdir}/tmpfiles.d.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 11 18:06:46 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sat Jul 11 18:06:46 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -266,8 +266,8 @@ install -m 644 release/libcelt0.so.0.*.* "%{buildroot}%{_libdir}/mumble"
|
|||||||
# server
|
# server
|
||||||
install -D -m 0755 release/murmurd "%{buildroot}%{_sbindir}/murmurd"
|
install -D -m 0755 release/murmurd "%{buildroot}%{_sbindir}/murmurd"
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
mkdir -p %{buildroot}%{_libexecdir}/tmpfiles.d
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||||
cat >> %{buildroot}%{_libexecdir}/tmpfiles.d/mumble-server.conf <<EOF
|
cat >> %{buildroot}%{_tmpfilesdir}/mumble-server.conf <<EOF
|
||||||
d %{_localstatedir}/run/mumble-server 0755 mumble-server mumble-server -
|
d %{_localstatedir}/run/mumble-server 0755 mumble-server mumble-server -
|
||||||
EOF
|
EOF
|
||||||
#
|
#
|
||||||
@ -330,7 +330,7 @@ getent passwd mumble-server >/dev/null || \
|
|||||||
|
|
||||||
%post server
|
%post server
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/mumble-server.conf || true
|
systemd-tmpfiles --create %{_tmpfilesdir}/mumble-server.conf || true
|
||||||
%service_add_post mumble-server.service
|
%service_add_post mumble-server.service
|
||||||
%else
|
%else
|
||||||
%fillup_and_insserv mumble-server
|
%fillup_and_insserv mumble-server
|
||||||
@ -364,8 +364,7 @@ systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/mumble-server.conf || true
|
|||||||
%config %{_sysconfdir}/dbus-1/system.d/mumble-server.conf
|
%config %{_sysconfdir}/dbus-1/system.d/mumble-server.conf
|
||||||
%config(noreplace) %{_sysconfdir}/mumble-server.ini
|
%config(noreplace) %{_sysconfdir}/mumble-server.ini
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%dir %{_libexecdir}/tmpfiles.d
|
%{_tmpfilesdir}/mumble-server.conf
|
||||||
%{_libexecdir}/tmpfiles.d/mumble-server.conf
|
|
||||||
%{_unitdir}/mumble-server.service
|
%{_unitdir}/mumble-server.service
|
||||||
%else
|
%else
|
||||||
%{_initddir}/mumble-server
|
%{_initddir}/mumble-server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user