From e18c170d96fa79872edcfe2305803a303d814d0bd51f026d8d2cb6ffe5072627 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 17 Jan 2019 11:30:10 +0000 Subject: [PATCH 1/2] Accepting request 666671 from home:michalsrb:branches:X11:XOrg - Do not build xorg-x11-Xvnc-module on s390. It fails to build because macros.xorg-server is incomplete on s390 and the module would be useless without real X server anyway. OBS-URL: https://build.opensuse.org/request/show/666671 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=153 --- tigervnc.changes | 7 +++++++ tigervnc.spec | 18 ++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/tigervnc.changes b/tigervnc.changes index 1cb4d0f..969937f 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jan 17 10:21:29 UTC 2019 - msrb@suse.com + +- Do not build xorg-x11-Xvnc-module on s390. It fails to build + because macros.xorg-server is incomplete on s390 and the module + would be useless without real X server anyway. + ------------------------------------------------------------------- Tue Jan 8 12:38:42 UTC 2019 - msrb@suse.com diff --git a/tigervnc.spec b/tigervnc.spec index 45c7bfe..eff9fdc 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -166,7 +166,9 @@ Requires: openssl(cli) # For the with-vnc-key.sh script Requires: /bin/hostname %{?systemd_requires} +%ifnarch s390 s390x Recommends: xorg-x11-Xvnc-module +%endif Provides: tightvnc = 1.3.9 Provides: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh Obsoletes: tightvnc < 1.3.9 @@ -176,6 +178,7 @@ Group: System/X11/Servers/XF86_4 %description -n xorg-x11-Xvnc This is the TigerVNC implementation of Xvnc. +%ifnarch s390 s390x %package -n xorg-x11-Xvnc-module Requires: xorg-x11-Xvnc Summary: VNC module for X server @@ -186,6 +189,7 @@ Group: System/X11/Servers/XF86_4 This module allows to share content of X server's screen over VNC. It is loaded into X server as a module if enable in X server's configuration. +%endif %package -n xorg-x11-Xvnc-novnc Requires: novnc @@ -497,17 +501,19 @@ fi %{_libexecdir}/vnc +%ifarch s390 s390x +# These would be in xorg-x11-Xvnc-module, but we don't build that on s390 +%exclude /usr/%{_lib}/xorg/protocol.txt +%exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la +%exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.so +%endif + +%ifnarch s390 s390x %files -n xorg-x11-Xvnc-module %exclude /usr/%{_lib}/xorg/protocol.txt %exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la -%ifnarch s390 s390x %{_libdir}/xorg/modules/extensions/libvnc.so %config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf -%else -%exclude /etc/X11/xorg.conf.d -%exclude %{_libdir}/xorg/modules -%exclude %{_libdir}/xorg/modules/extensions -%exclude %{_libdir}/xorg/modules/extensions/libvnc.so %endif %files -n xorg-x11-Xvnc-novnc From 8608018ff59c511e66b22ee476e0c27015b6d015e7b159cabfc6b4eb8c344203 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 17 Jan 2019 12:31:12 +0000 Subject: [PATCH 2/2] Accepting request 666698 from home:michalsrb:branches:X11:XOrg - Switch websocket dependency to python3. (bsc#1119737) OBS-URL: https://build.opensuse.org/request/show/666698 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=154 --- tigervnc.changes | 5 +++++ tigervnc.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tigervnc.changes b/tigervnc.changes index 969937f..4403a6c 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 17 12:07:27 UTC 2019 - msrb@suse.com + +- Switch websocket dependency to python3. (bsc#1119737) + ------------------------------------------------------------------- Thu Jan 17 10:21:29 UTC 2019 - msrb@suse.com diff --git a/tigervnc.spec b/tigervnc.spec index eff9fdc..ef77650 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -193,7 +193,7 @@ configuration. %package -n xorg-x11-Xvnc-novnc Requires: novnc -Requires: python-websockify +Requires: python3-websockify Requires: xorg-x11-Xvnc %{?systemd_requires} Summary: NoVNC service for Xvnc