forked from pool/spice-vdagent
Accepting request 235504 from Virtualization
- fix /var/run handling spice-vdagent-var_run.patch OBS-URL: https://build.opensuse.org/request/show/235504 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spice-vdagent?expand=0&rev=2
This commit is contained in:
commit
dcf2048427
43
spice-vdagent-var_run.patch
Normal file
43
spice-vdagent-var_run.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
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.15.0/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- spice-vdagent-0.15.0.orig/Makefile.am
|
||||||
|
+++ spice-vdagent-0.15.0/Makefile.am
|
||||||
|
@@ -46,7 +46,6 @@ gdmautostartdir = $(datadir)/gdm/autosta
|
||||||
|
gdmautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
|
||||||
|
|
||||||
|
install-data-local:
|
||||||
|
- $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
|
||||||
|
|
||||||
|
rsyslogdir = $(sysconfdir)/rsyslog.d
|
||||||
|
rsyslog_DATA = $(top_srcdir)/data/rsyslog.d/spice-vdagentd.conf
|
||||||
|
Index: spice-vdagent-0.15.0/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- spice-vdagent-0.15.0.orig/Makefile.in
|
||||||
|
+++ spice-vdagent-0.15.0/Makefile.in
|
||||||
|
@@ -1366,7 +1366,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.15.0/data/spice-vdagentd
|
||||||
|
===================================================================
|
||||||
|
--- spice-vdagent-0.15.0.orig/data/spice-vdagentd
|
||||||
|
+++ spice-vdagent-0.15.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: "
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 27 08:45:45 CEST 2014 - ohering@suse.de
|
||||||
|
|
||||||
|
- fix /var/run handling
|
||||||
|
spice-vdagent-var_run.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 3 08:39:02 UTC 2014 - seife+obs@b1-systems.com
|
Mon Feb 3 08:39:02 UTC 2014 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ License: GPL-3.0+
|
|||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Url: http://spice-space.org/
|
Url: http://spice-space.org/
|
||||||
Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: spice-vdagent-var_run.patch
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: libXfixes-devel
|
BuildRequires: libXfixes-devel
|
||||||
@ -78,7 +79,6 @@ ln -s service %{buildroot}%{_sbindir}/rcspice-vdagentd
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun spice-vdagentd.service
|
%service_del_postun spice-vdagentd.service
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING ChangeLog README TODO
|
%doc COPYING ChangeLog README TODO
|
||||||
@ -91,7 +91,6 @@ ln -s service %{buildroot}%{_sbindir}/rcspice-vdagentd
|
|||||||
%{_bindir}/spice-vdagent
|
%{_bindir}/spice-vdagent
|
||||||
%{_sbindir}/spice-vdagentd
|
%{_sbindir}/spice-vdagentd
|
||||||
%{_sbindir}/rcspice-vdagentd
|
%{_sbindir}/rcspice-vdagentd
|
||||||
%ghost %{_var}/run/spice-vdagentd
|
|
||||||
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
||||||
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
||||||
# We own the dir too, otherwise we must Require gdm
|
# We own the dir too, otherwise we must Require gdm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user