spice-vdagent/spice-vdagent-var_run.patch
Olaf Hering fd28b54c2a Accepting request 317823 from home:pluskalm:branches:Virtualization
- Update tp 0.16.0
  * Xspice support
  * Release clipboard on client disconnect if owned by client 
    (rhbz#1003977)
  * Turn some error messages into debugging messages (rhbz#918310)
  * Not having the virtio channel is not an error; instead silently 
    do nothing
- Cleanup spec file with spec-cleaner
- Actually apply spice-vdagent-var_run.patch

OBS-URL: https://build.opensuse.org/request/show/317823
OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=10
2015-07-22 12:30:55 +00:00

44 lines
1.6 KiB
Diff

---
Makefile.am | 1 -
Makefile.in | 1 -
data/spice-vdagentd | 1 +
data/spice-vdagentd.service | 1 +
4 files changed, 2 insertions(+), 2 deletions(-)
Index: spice-vdagent-0.16.0/Makefile.am
===================================================================
--- spice-vdagent-0.16.0.orig/Makefile.am
+++ spice-vdagent-0.16.0/Makefile.am
@@ -55,7 +55,6 @@ gdmautostart2dir = $(datadir)/gdm/autost
gdmautostart2_DATA = $(top_srcdir)/data/spice-vdagent.desktop
install-data-local:
- $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
if INIT_SCRIPT_RED_HAT
initdir = $(sysconfdir)/rc.d/init.d
Index: spice-vdagent-0.16.0/Makefile.in
===================================================================
--- spice-vdagent-0.16.0.orig/Makefile.in
+++ spice-vdagent-0.16.0/Makefile.in
@@ -1413,7 +1413,6 @@ uninstall-am: uninstall-binPROGRAMS unin
install-data-local:
- $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
Index: spice-vdagent-0.16.0/data/spice-vdagentd
===================================================================
--- spice-vdagent-0.16.0.orig/data/spice-vdagentd
+++ spice-vdagent-0.16.0/data/spice-vdagentd
@@ -37,6 +37,7 @@ start() {
[ -x $exec ] || exit 5
[ -c $port ] || exit 0
modprobe uinput > /dev/null 2>&1
+ mkdir -p /var/run/spice-vdagentd
# In case the previous running vdagentd crashed
rm -f /var/run/spice-vdagentd/spice-vdagent-sock
echo -n $"Starting $prog: "